File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ jobs:
71
71
72
72
- name : Build & Publish Container ${{ inputs.container-name }}
73
73
uses : docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
74
- if : ${{ steps.set-version.outputs.release == 'true' }}
75
74
id : build
76
75
with :
77
76
file : " ${{ inputs.container-file }}"
78
77
context : .
79
78
push : true
79
+ load : true
80
80
tags : ${{ steps.meta.outputs.tags }}
81
81
labels : ${{ steps.meta.outputs.labels }}
82
82
# SBOM Settings
85
85
# Upload Software Bill of Materials (SBOM) to GitHub
86
86
- name : Upload SBOM
87
87
uses : advanced-security/spdx-dependency-submission-action@5530bab9ee4bbe66420ce8280624036c77f89746 # v0.1.1
88
- if : ${{ inputs.sbom == 'true' }}
89
88
with :
90
89
filePath : ' .'
91
90
filePattern : ' *.spdx.json'
94
93
runs-on : ubuntu-latest
95
94
needs : publish-image
96
95
# Sign the image only if it is being published
97
- if : ${{ inputs.signing == 'true' && inputs.publish == 'true' }}
96
+ if : ${{ inputs.signing == 'true' }}
98
97
99
98
permissions :
100
99
# read the image from GitHub Container Registry
You can’t perform that action at this time.
0 commit comments