Skip to content

Commit

Permalink
COSI-33: make-arm-build-optional-in-release
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Nov 13, 2024
1 parent 4dd81b1 commit 0b128eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
tag:
description: "Tag to be released (e.g., v1.0.0)"
required: true
all_platforms:
description: "Build for all platforms (linux/amd64,linux/arm64) or just linux/amd64"
required: false
type: boolean
default: false
jobs:
prod-container-build:
permissions:
Expand All @@ -17,7 +22,7 @@ jobs:
name: cosi-driver
namespace: ${{ github.repository_owner }}
tag: ${{ inputs.tag }}
platforms: linux/amd64,linux/arm64
platforms: ${{ inputs.all_platforms && 'linux/amd64,linux/arm64' || 'linux/amd64' }}

create-github-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0b128eb

Please sign in to comment.