Skip to content

Commit

Permalink
modified: .github/workflows/docker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
obervinov committed Jan 29, 2025
1 parent 4c73e75 commit e7354a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
echo "VERSION=$(grep -E '## v[0-9]?([0-9]).[0-9]?([0-9]).[0-9]?([0-9])' CHANGELOG.md | head -1 | grep -Eo 'v[0-9]?([0-9]).[0-9]?([0-9]).[0-9]?([0-9])')" >> $GITHUB_ENV
# Determine type of the tag
if [ "${GITHUB_REF_NAME}" == 'main' ]; then
image_tag=$TAG
image_tag=$VERSION
else
image_tag=$TAG-dev
image_tag=$VERSION-dev
fi
echo "IMAGE_TAG=$image_tag" >> $GITHUB_ENV
Expand Down

0 comments on commit e7354a2

Please sign in to comment.