Skip to content

Commit

Permalink
fix: use relative file path to sbom
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Feb 14, 2025
1 parent e705880 commit 9826428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
FLAVOR: ${{ inputs.flavor }}
IMAGE_NAME: ${{ env.IMAGE_NAME }}
GENERATE_SBOM: ${{ inputs.generate-sbom }}
SBOM_OUTPUT: /tmp/sbom.json
SBOM_OUTPUT: ./sbom.json
run: |
set -x
just=$(which just)
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
env:
IMAGE: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
DEFAULT_TAG: ${{ env.DEFAULT_TAG }}
SBOM_OUTPUT: /tmp/sbom.json
SBOM_OUTPUT: ./sbom.json
run: |
oras attach \
--annotation "org.opencontainers.artifact.description=CycloneDX SBOM" \
Expand Down

0 comments on commit 9826428

Please sign in to comment.