diff --git a/.github/workflows/publish-containers.yaml b/.github/workflows/publish-containers.yaml index 230b79c..c771961 100644 --- a/.github/workflows/publish-containers.yaml +++ b/.github/workflows/publish-containers.yaml @@ -23,7 +23,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push controller - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: ./hairpin-proxy-controller push: true @@ -33,9 +33,10 @@ jobs: ghcr.io/${{ env.DOCKER_REPOSITORY }}/controller:${{ env.VERSION }} cache-from: type=registry,ref=ghcr.io/${{ env.DOCKER_REPOSITORY }}/controller:latest cache-to: type=inline + platforms: linux/amd64,linux/arm64 - name: Build and push haproxy - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: ./hairpin-proxy-haproxy push: true @@ -45,3 +46,4 @@ jobs: ghcr.io/${{ env.DOCKER_REPOSITORY }}/haproxy:${{ env.VERSION }} cache-from: type=registry,ref=ghcr.io/${{ env.DOCKER_REPOSITORY }}/haproxy:latest cache-to: type=inline + platforms: linux/amd64,linux/arm64