From 98bbb7017f8a9adaf3d88fd6281d3dd4f775727b Mon Sep 17 00:00:00 2001 From: Haylan Date: Fri, 31 Jul 2026 14:34:43 +0200 Subject: [PATCH] fix(ci): remove local image build step for Trivy scanning --- .gitea/workflows/docker-publish.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.gitea/workflows/docker-publish.yml b/.gitea/workflows/docker-publish.yml index 38c38b6..b57d4b0 100644 --- a/.gitea/workflows/docker-publish.yml +++ b/.gitea/workflows/docker-publish.yml @@ -70,17 +70,6 @@ jobs: username: ${{ gitea.actor }} password: ${{ secrets.REGISTRY_TOKEN }} - # Build a single-arch image locally so Trivy can inspect it before the real push. - - name: Build local image for scanning - uses: docker/build-push-action@v5 - with: - context: . - target: final - platforms: linux/amd64 - load: true - tags: scan-target:${{ inputs.tag }} - cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository }}:buildcache - - name: Build and push uses: docker/build-push-action@v5 with: -- 2.54.0