Skip to content

Commit

Permalink
Update publish-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer committed Feb 22, 2024
1 parent 4046163 commit 3af0674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ jobs:
echo "DOCK_LABEL=${vertag}" >> $GITHUB_ENV
if [[ ${vertag} == "develop" ]]; then
echo "FLAVOR_LATEST=false" >> $GITHUB_ENV
echo "HASH_DOCK_LABEL=${vertag}.${GITHUB_SHA:0:8}" >> $GITHUB_ENV
echo "HASH_DOCK_LABEL=${vertag}-$(date +%Y%m%d)" >> $GITHUB_ENV
elif [[ ${vertag} == "master" ]]; then
echo "FLAVOR_LATEST=true" >> $GITHUB_ENV
echo "HASH_DOCK_LABEL=${vertag}.${GITHUB_SHA:0:8}" >> $GITHUB_ENV
echo "HASH_DOCK_LABEL=${vertag}-$(date +%Y%m%d)" >> $GITHUB_ENV
else
echo "FLAVOR_LATEST=true" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit 3af0674

Please sign in to comment.