Skip to content

Commit

Permalink
Make 'latest' tag work for container image
Browse files Browse the repository at this point in the history
  • Loading branch information
pothos committed Apr 25, 2024
1 parent 6cd3163 commit a68e81f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
latest=false
tags: |
type=ref,event=tag
type=raw,value=latest,enable=${{ github.ref != 'refs/tags/staging' }}
type=match,pattern=\d.\d.\d,value=latest
- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
Expand All @@ -47,3 +48,5 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit a68e81f

Please sign in to comment.