Skip to content

Commit

Permalink
last fix for docker push wfl
Browse files Browse the repository at this point in the history
  • Loading branch information
lkurzyniec committed Jun 2, 2024
1 parent 91a24c4 commit 958da67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ jobs:
date=$(date --rfc-3339=date)
echo "DATE=${date}" >> $GITHUB_ENV
version="${{ github.event_name == 'release' && github.ref || format('{0}.', inputs.version) }}$date"
version="${{ github.event_name == 'release' && github.ref || format('{0}.', inputs.version) }}"
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
version="${version}${date}"
fi
version="${version/refs\/tags\/v/}"
echo "Version: ${version}"
Expand Down

0 comments on commit 958da67

Please sign in to comment.