Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,20 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=edge
type=match
Comment thread
SamMorrowDrums marked this conversation as resolved.
Outdated
type=pep440
Comment thread
SamMorrowDrums marked this conversation as resolved.
Outdated
# Custom rule to prevent pre-releases from getting latest tag
type=raw,value=latest,enable=${{ !contains(github.ref, '-') && github.ref_type == 'tag' }}

Comment thread
MayorFaj marked this conversation as resolved.
Outdated
Comment thread
MayorFaj marked this conversation as resolved.
- name: Go Build Cache for Docker
uses: actions/cache@v4
Expand Down