Skip to content

Commit

Permalink
Enables optionally multiplatform container builds
Browse files Browse the repository at this point in the history
  • Loading branch information
e-minguez committed Feb 3, 2025
1 parent 41e7831 commit 3c038b4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/container-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ on:
description: "Whether to push the image afterwards"
type: boolean
default: true
multiPlatform:
required: false
description: "Enable multiPlatform builds for the container image"
type: boolean
default: false
platform:
required: false
description: "Architecture platforms for the image build (linux/amd64,linux/arm64, etc.)"
type: string
default: ""
secrets:
QUAY_USERNAME:
required: true
Expand Down Expand Up @@ -92,6 +102,8 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
pushImage: ${{ inputs.pushImage }}
multiPlatform: ${{ inputs.multiPlatform }}
platform: ${{ inputs.platform }}

- name: Slack Notification on Failure
if: ${{ failure() }}
Expand Down

0 comments on commit 3c038b4

Please sign in to comment.