Skip to content

Commit

Permalink
Update build-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-cpsn committed Aug 27, 2024
1 parent eccbd03 commit 7ecfcf0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ jobs:
images: ${{ env.IMAGE_NAME }}
tags: |
# When the main branch gets updated, don't tag it as 'main'; instead, tag it as 'latest'
type=ref,event=branch,enable=false
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{raw}}
type=schedule
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
type=ref,event=pr
type=sha
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit 7ecfcf0

Please sign in to comment.