From fc2a19277292ca106512a228f499eab5fb7e16bd Mon Sep 17 00:00:00 2001 From: Sahil Badla <146279034+sbadla1@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:14:30 -0700 Subject: [PATCH] Update meta action version and push tags in push.yaml (#35) --- .github/workflows/push.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 3892af7..59f1f17 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -27,8 +27,7 @@ jobs: id: qemu uses: docker/setup-qemu-action@v3 with: - image: tonistiigi/binfmt:latest - platforms: all + platforms: linux/amd64,linux/arm64 - name: Login to DockerHub uses: docker/login-action@v1 @@ -38,15 +37,19 @@ jobs: - name: Docker meta id: docker_meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: ${{ github.repository_owner }}/cluster-validator + tags: | + type=ref,event=branch + type=ref,event=pr + type=semver,pattern={{version}} - name: Build and push uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.docker_meta.outputs.tags }}