Skip to content

Commit

Permalink
build arm64 images
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell authored and sgalsaleh committed Jan 16, 2024
1 parent 8a11a40 commit caefa22
Show file tree
Hide file tree
Showing 11 changed files with 3,895 additions and 3,891 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-push-image-with-apko/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
if: ${{ inputs.overwrite == 'true' || steps.check-image-exists.outputs.image-exists == 'false' }}
with:
config: ${{ inputs.apko-config }}
archs: x86_64
archs: x86_64,arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/build-push-kotsadm-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ runs:
- uses: chainguard-dev/actions/melange-build@main
with:
config: deploy/melange.yaml
archs: x86_64
archs: arm64
sign-with-temporary-key: true
cache-dir: ${{ steps.cache-dir.outputs.cache_dir }}

- uses: chainguard-images/actions/apko-publish@main
with:
config: deploy/apko.yaml
archs: x86_64
archs: arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ runs:
- uses: chainguard-dev/actions/melange-build@main
with:
config: migrations/deploy/melange.yaml
archs: x86_64
archs: x86_64,arm64
sign-with-temporary-key: true
cache-dir: ${{ steps.cache-dir.outputs.cache_dir }}

- uses: chainguard-images/actions/apko-publish@main
with:
config: migrations/deploy/apko.yaml
archs: x86_64
archs: x86_64,arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/build-push-kurl-proxy-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ runs:
- uses: chainguard-dev/actions/melange-build@main
with:
config: kurl_proxy/deploy/melange.yaml
archs: x86_64
archs: x86_64,arm64
sign-with-temporary-key: true
cache-dir: ${{ steps.cache-dir.outputs.cache_dir }}

- uses: chainguard-images/actions/apko-publish@main
with:
config: kurl_proxy/deploy/apko.yaml
archs: x86_64
archs: x86_64,arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/alpha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
id-token: write # required to be able to assume the GCP SA identity to pull private Chainguard packages.
steps:
- uses: actions/checkout@v4
# TODO: need to build web as the image depends on the static assets
- uses: ./.github/actions/build-push-kotsadm-image
with:
chainguard-gcp-wif-pool: ${{ secrets.CHAINGUARD_GCP_WIF_POOL }}
Expand Down
Loading

0 comments on commit caefa22

Please sign in to comment.