Skip to content

Commit

Permalink
dev tag
Browse files Browse the repository at this point in the history
  • Loading branch information
scrungus committed May 10, 2023
1 parent eebbdae commit 65f14c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-push-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
tags: |
# set latest tag for master branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
# all other branches get the dev tag
type=raw,value=dev,enable=${{ github.ref != format('refs/heads/{0}', 'master') }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
Expand Down

0 comments on commit 65f14c0

Please sign in to comment.