Compare commits
2 Commits
9bcb07f846
...
c46397f5b2
| Author | SHA1 | Date | |
|---|---|---|---|
| c46397f5b2 | |||
| 900d310edf |
@ -147,7 +147,7 @@ jobs:
|
|||||||
sudo mv oras /usr/local/bin/
|
sudo mv oras /usr/local/bin/
|
||||||
|
|
||||||
# Get the image digest from the build step
|
# Get the image digest from the build step
|
||||||
IMAGE_DIGEST="${{ steps.build.outputs.image-digest }}"
|
IMAGE_DIGEST="${{ steps.build.outputs.digest }}"
|
||||||
|
|
||||||
# Attach SBOM to the specific image digest
|
# Attach SBOM to the specific image digest
|
||||||
oras attach ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \
|
oras attach ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \
|
||||||
@ -157,7 +157,7 @@ jobs:
|
|||||||
echo "SBOM attached successfully to image digest: ${IMAGE_DIGEST}"
|
echo "SBOM attached successfully to image digest: ${IMAGE_DIGEST}"
|
||||||
|
|
||||||
# Job 4: Image Security Scan
|
# Job 4: Image Security Scan
|
||||||
scan:
|
scan:
|
||||||
name: 🛡️ Image Security Scan
|
name: 🛡️ Image Security Scan
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|||||||
Reference in New Issue
Block a user