Debug sbom upload and security tag
Some checks failed
CI/CD Pipeline - Build, Test, and Deploy / 🧪 Test & Lint (push) Successful in 9m30s
CI/CD Pipeline - Build, Test, and Deploy / 🔒 Security Scan (push) Successful in 9m33s
CI/CD Pipeline - Build, Test, and Deploy / 🏗️ Build & Push Image (push) Failing after 29s

This commit is contained in:
2025-07-03 09:38:15 -06:00
parent 08bcc0eecb
commit 9bcb07f846

View File

@ -77,8 +77,6 @@ jobs:
build:
name: 🏗️ Build & Push Image
runs-on: ubuntu-latest
outputs:
digest: ${{ steps.build.outputs.digest }}
needs: [test, security]
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
outputs:
@ -149,7 +147,7 @@ jobs:
sudo mv oras /usr/local/bin/
# Get the image digest from the build step
IMAGE_DIGEST="${{ steps.build.outputs.digest }}"
IMAGE_DIGEST="${{ steps.build.outputs.image-digest }}"
# Attach SBOM to the specific image digest
oras attach ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \