Debug sbom upload and security tag
Some checks failed
Some checks failed
This commit is contained in:
@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user