Merge pull request 'fix(ci): remove local image build step for Trivy scanning' (#21) from patch-2-gitea-registry into main
Tests / build-dev (push) Successful in 1m15s
Tests / build-prod (push) Successful in 1m10s

Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
2026-07-31 12:37:47 +00:00
-11
View File
@@ -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: