Skip to content

Commit

Permalink
Update meta action version and push tags in push.yaml (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbadla1 authored Sep 28, 2023
1 parent d4357e2 commit fc2a192
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit fc2a192

Please sign in to comment.