From 1bcc578fa17f268f07b94e58a6a01913bd1b83be Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Fri, 14 Mar 2025 18:25:33 +0400 Subject: [PATCH] chore: cleanup action yml --- .forgejo/workflows/build_and_release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build_and_release.yml b/.forgejo/workflows/build_and_release.yml index 695cf86..66787f4 100644 --- a/.forgejo/workflows/build_and_release.yml +++ b/.forgejo/workflows/build_and_release.yml @@ -2,11 +2,10 @@ name: Docker Image CI on: push: - pull_request: env: - REGISTRY: git.dc09.ru # Change to your registry (e.g., forgejo.example.com) + REGISTRY: git.dc09.ru GITHUB_TOKEN: ${{ secrets.FORGEJO_PASSWORD }} GITHUB_API_URL: https://git.dc09.ru GITHUB_BASE_REF: git.dc09.ru @@ -24,7 +23,7 @@ jobs: - dockerfile: 'Dockerfile.openj9' image_name: 'openj9' context: './' - build-args: ["WITH_JDK=false"] + build-args: [] - dockerfile: 'Dockerfile.piped' image_name: 'piped' context: './' @@ -60,7 +59,6 @@ jobs: github-token: ${{ secrets.FORGEJO_PASSWORD }} github-server: https://git.dc09.ru - - name: Build and push Docker image uses: docker/build-push-action@v5 with: @@ -69,4 +67,4 @@ jobs: push: ${{ github.event_name == 'push' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - build-args: ${{ matrix.images.build-args }} \ No newline at end of file + build-args: ${{ matrix.images.build-args }}