Skip to content

Commit ff223db

Browse files
add multiarch support to manual approval gate feature
1 parent d4f0d79 commit ff223db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ jobs:
8888
password: ${{ secrets.GITHUB_TOKEN }}
8989
- uses: imjasonh/[email protected]
9090
- run: |
91-
ko publish --push=${{ github.event_name != 'pull_request' }} --base-import-paths ./cmd/controller
91+
ko publish --platform=linux/amd64,linux/s390x,linux/ppc64le,linux/arm64 --push=${{ github.event_name != 'pull_request' }} --base-import-paths ./cmd/controller

release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ getReleaseVersion() {
3131
buildImageAndGenerateReleaseYaml() {
3232
info Creating Manual Approval Gate Release Yaml for Kubernetes
3333
echo "------------------------------------------"
34-
ko resolve -f config/kubernetes -t ${RELEASE_VERSION} > release-kubernetes.yaml || {
34+
ko resolve --platform=linux/amd64,linux/s390x,linux/ppc64le,linux/arm64 -f config/kubernetes -t ${RELEASE_VERSION} > release-kubernetes.yaml || {
3535
err 'release build failed'
3636
return 1
3737
}
@@ -41,7 +41,7 @@ buildImageAndGenerateReleaseYaml() {
4141
echo "============================================="
4242
info Creating Manual Approval Gate Release Yaml for Openshift
4343
echo "------------------------------------------"
44-
ko resolve -f config/openshift -t ${RELEASE_VERSION} > release-openshift.yaml || {
44+
ko resolve --platform=linux/amd64,linux/s390x,linux/ppc64le,linux/arm64 -f config/openshift -t ${RELEASE_VERSION} > release-openshift.yaml || {
4545
err 'release build failed'
4646
return 1
4747
}

0 commit comments

Comments
 (0)