Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MRColorR authored Apr 8, 2024
1 parent ecfbb76 commit 1c71e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
fi
CURRENT_VERSION=$(cat ${{ env.VERSION_FILE_PATH }})
echo "Current Version: $CURRENT_VERSION"
if [ "$CURRENT_VERSION" != "$LATEST_VERSION" ]; then
if [ "$CURRENT_VERSION" != "$LATEST_VERSION" ] || [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "New version detected: $LATEST_VERSION. Triggering build..."
echo "latest_version=$LATEST_VERSION" >> $GITHUB_ENV
echo "$LATEST_VERSION" > ${{ env.VERSION_FILE_PATH }}
Expand Down

0 comments on commit 1c71e8f

Please sign in to comment.