Skip to content

Commit

Permalink
GitHub Action for DockerHub build and publish #19
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanchez556 committed Oct 2, 2024
1 parent 1986aee commit 6e24723
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
TAG_NAME=$(echo ${GITHUB_REF} | sed 's/refs\/tags\///')
echo "DOCKER_TAGS=${TAG_NAME}" >> $GITHUB_ENV
elif [[ "${GITHUB_REF}" == "refs/heads/master" ]]; then
echo "Latest version tags..."
else
echo "No valid ref for tagging. Exiting..."
exit 1
Expand Down

0 comments on commit 6e24723

Please sign in to comment.