File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ jobs:
7171
7272 - name : Build & Publish Container ${{ inputs.container-name }}
7373 uses : docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
74- if : ${{ steps.set-version.outputs.release == 'true' }}
7574 id : build
7675 with :
7776 file : " ${{ inputs.container-file }}"
7877 context : .
7978 push : true
79+ load : true
8080 tags : ${{ steps.meta.outputs.tags }}
8181 labels : ${{ steps.meta.outputs.labels }}
8282 # SBOM Settings
8585 # Upload Software Bill of Materials (SBOM) to GitHub
8686 - name : Upload SBOM
8787 uses : advanced-security/spdx-dependency-submission-action@5530bab9ee4bbe66420ce8280624036c77f89746 # v0.1.1
88- if : ${{ inputs.sbom == 'true' }}
8988 with :
9089 filePath : ' .'
9190 filePattern : ' *.spdx.json'
9493 runs-on : ubuntu-latest
9594 needs : publish-image
9695 # Sign the image only if it is being published
97- if : ${{ inputs.signing == 'true' && inputs.publish == 'true' }}
96+ if : ${{ inputs.signing == 'true' }}
9897
9998 permissions :
10099 # read the image from GitHub Container Registry
You can’t perform that action at this time.
0 commit comments