Skip to content

Commit 3d76639

Browse files
committed
fix: Publishing the container
1 parent 2afc0ba commit 3d76639

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/container-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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
@@ -85,7 +85,6 @@ jobs:
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'
@@ -94,7 +93,7 @@ jobs:
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

0 commit comments

Comments
 (0)