Skip to content

Commit

Permalink
ci: fix tags for branches and SHAs
Browse files Browse the repository at this point in the history
  • Loading branch information
pythoninthegrass committed Oct 10, 2024
1 parent a929dc5 commit 58ad6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
images: |
${{ env.REGISTRY_URL }}/${{ env.REGISTRY_URL == 'ghcr.io' && github.repository_owner || env.REGISTRY_USER }}/${{ steps.image_name.outputs.IMAGE }}
tags: |
type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') || endsWith(github.ref, 'master') }}
type=ref,event=branch,enable=${{ !endsWith(github.ref, 'main') && !endsWith(github.ref, 'master') }}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' }}
type=ref,event=branch
type=semver,pattern={{version}}
flavor: |
latest=false
Expand Down

0 comments on commit 58ad6af

Please sign in to comment.