From 7a7b99e0720176ea37698f03125cf05c2b365cf5 Mon Sep 17 00:00:00 2001 From: Sylvain Hellegouarch Date: Fri, 19 Apr 2024 11:12:33 +0200 Subject: [PATCH] build also for arm64 Signed-off-by: Sylvain Hellegouarch --- .github/workflows/release.yaml | 5 +++++ CHANGELOG.md | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 26b39c3..da1860a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 name: Set up Docker Buildx - uses: docker/login-action@v3 @@ -35,6 +37,9 @@ jobs: with: context: . push: ${{ github.event_name != 'pull_request' }} + platforms: linux/amd64,linux/arm64 file: ./Dockerfile tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fd60d0..7eb4e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ [Unreleased]: https://github.com/chaostoolkit-incubator/kubernetes-crd/compare/0.11.1...HEAD +### Changed + +* Build the operator image for arm64 and amd64 now + ## [0.11.1][] - 2024-04-19 [0.11.1]: https://github.com/chaostoolkit-incubator/kubernetes-crd/compare/0.11.0...0.11.1