Skip to content

Commit

Permalink
set event for latest and classic tags (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Junge authored Mar 28, 2023
1 parent 74dcf40 commit f2e80ce
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 @@ -74,8 +74,8 @@ jobs:
type=edge,branch=test
type=semver,pattern={{tag}}
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,value=classic,enable=${{ github.ref == format('refs/heads/{0}', 'classic') }}
type=raw,value=latest,event=branch,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,value=classic,event=branch,enable=${{ github.ref == format('refs/heads/{0}', 'classic') }}
- name: Build docker image
uses: docker/build-push-action@v3
Expand Down

0 comments on commit f2e80ce

Please sign in to comment.