Skip to content

Commit

Permalink
chore(platforms): publish for: linux/amd64 and linux/arm64 (#1225)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it

#947 

#### Which issue(s) this PR fixes

fixes: open-component-model/ocm-project#291
  • Loading branch information
hilmarf authored Jan 6, 2025
1 parent 6ac1176 commit b917593
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
# supported platforms of https://hub.docker.com/_/golang/tags?page=1&name=1.23-alpine3.20
# platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
# supported platforms: https://github.com/GoogleContainerTools/distroless?tab=readme-ov-file#what-images-are-available
platforms: linux/amd64,linux/arm64 #linux/arm,linux/ppc64le,linux/s390x
push: true
tags: |
ghcr.io/open-component-model/ocm:latest
Expand Down Expand Up @@ -166,4 +166,4 @@ jobs:
key: ${{ env.cache_name }}-${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ hashFiles('**/go.mod') }}
upload-chunk-size: 256000000 # default of 32MB is not really optimal for our large cache, choose 256MB instead
env:
cache_name: ocm-cli-latest-go-cache # needs to be the same key in the end as in the build step
cache_name: ocm-cli-latest-go-cache # needs to be the same key in the end as in the build step

0 comments on commit b917593

Please sign in to comment.