Skip to content

Commit

Permalink
add multiarch support to manual approval gate feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Basavaraju-G authored and openshift-merge-bot[bot] committed Jul 1, 2024
1 parent d4f0d79 commit ff223db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- uses: imjasonh/setup-ko@v0.7
- run: |
ko publish --push=${{ github.event_name != 'pull_request' }} --base-import-paths ./cmd/controller
ko publish --platform=linux/amd64,linux/s390x,linux/ppc64le,linux/arm64 --push=${{ github.event_name != 'pull_request' }} --base-import-paths ./cmd/controller
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ getReleaseVersion() {
buildImageAndGenerateReleaseYaml() {
info Creating Manual Approval Gate Release Yaml for Kubernetes
echo "------------------------------------------"
ko resolve -f config/kubernetes -t ${RELEASE_VERSION} > release-kubernetes.yaml || {
ko resolve --platform=linux/amd64,linux/s390x,linux/ppc64le,linux/arm64 -f config/kubernetes -t ${RELEASE_VERSION} > release-kubernetes.yaml || {
err 'release build failed'
return 1
}
Expand All @@ -41,7 +41,7 @@ buildImageAndGenerateReleaseYaml() {
echo "============================================="
info Creating Manual Approval Gate Release Yaml for Openshift
echo "------------------------------------------"
ko resolve -f config/openshift -t ${RELEASE_VERSION} > release-openshift.yaml || {
ko resolve --platform=linux/amd64,linux/s390x,linux/ppc64le,linux/arm64 -f config/openshift -t ${RELEASE_VERSION} > release-openshift.yaml || {
err 'release build failed'
return 1
}
Expand Down

0 comments on commit ff223db

Please sign in to comment.