Skip to content

Commit

Permalink
Update push_to_dockerhub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erikglee authored Jan 7, 2025
1 parent 24a4020 commit c54e173
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push_to_dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- main
# Any tag that starts with 'v'
# Any tag
tags:
- 'v*'
- '*'

jobs:
docker:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
# Always include "latest"
echo "tags=dcanumn/hbcd-made:latest" >> $GITHUB_OUTPUT
# If this is a tag push (refs/tags/v1.2.3, for example),
# If this is a tag push (refs/tags/1.2.3, for example),
# also add "dcanumn/hbcd-made:1.2.3"
if [ "${{ github.ref_type }}" = "tag" ]; then
VERSION_TAG="${GITHUB_REF#refs/tags/}"
Expand Down

0 comments on commit c54e173

Please sign in to comment.