Skip to content

Commit

Permalink
fix docker tag when tag is pushed (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWun authored Oct 17, 2023
1 parent d7ddf25 commit ca08f1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
tags: |
# set latest tag for master branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
# set tag when a tag is pushed
type=ref,event=tag
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
Expand Down

0 comments on commit ca08f1a

Please sign in to comment.