Skip to content

Commit

Permalink
ci: support aarch64 builds
Browse files Browse the repository at this point in the history
update github actions workflows and goreleaser to support aarch64.

Signed-off-by: Vibhav Bobade <[email protected]>
  • Loading branch information
waveywaves committed Oct 22, 2024
1 parent 79fb6c5 commit 0d6a1f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw:${{ env.RELEASE_VERSION }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw:latest
file: ./docker/Dockerfile.vk
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64, linux/aarch64
build-args: |
VERSION=${{ env.RELEASE_VERSION }}
- name: Build container base image interlink
Expand All @@ -50,7 +50,7 @@ jobs:
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/interlink:${{ env.RELEASE_VERSION }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/interlink:latest
file: ./docker/Dockerfile.interlink
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64, linux/aarch64

virtual-kubelet-refresh-token:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -83,4 +83,4 @@ jobs:
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw-refresh:${{ env.RELEASE_VERSION }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw-refresh:latest
file: ./docker/Dockerfile.refresh-token
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64, linux/aarch64
4 changes: 4 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ builds:
goarch:
- arm64
- amd64
- aaarch64
main: ./cmd/virtual-kubelet
- id: "interlink-api"
binary: interlink
Expand All @@ -31,6 +32,7 @@ builds:
- arm64
- amd64
- ppc64le
- aaarch64
main: ./cmd/interlink
- id: "installer"
binary: interlink-installer
Expand All @@ -43,6 +45,7 @@ builds:
- arm64
- amd64
- ppc64le
- aaarch64
main: ./cmd/installer
- id: "ssh-tunnel"
binary: ssh-tunnel
Expand All @@ -55,6 +58,7 @@ builds:
- arm64
- amd64
- ppc64le
- aaarch64
main: ./cmd/ssh-tunnel
archives:
- name_template: >-
Expand Down

0 comments on commit 0d6a1f9

Please sign in to comment.