Skip to content

Commit

Permalink
Fix SBOM publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Scholz <[email protected]>
  • Loading branch information
scholzj committed Oct 2, 2023
1 parent 355481b commit cd4074c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure/templates/jobs/push_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
COSIGN_PRIVATE_KEY: $(COSIGN_PRIVATE_KEY)
- bash: tar -z -C ./sbom/ -cvpf sbom.tar.gz ./
displayName: "Tar the SBOM files"
- publish: $(System.DefaultWorkingDirectory)/sbom-${{ parameters.dockerTag }}.tar.gz
artifact: SBOMs
- publish: $(System.DefaultWorkingDirectory)/sbom.tar.gz
artifact: SBOMs-${{ parameters.dockerTag }}
displayName: "Publish the SBOM files"
# push the SBOMs to container registry only for releases
- ${{ each arch in parameters.architectures }}:
Expand Down

0 comments on commit cd4074c

Please sign in to comment.