From 1c71e8f6821a0ac8518c7264e86f6916804fe262 Mon Sep 17 00:00:00 2001 From: MRColor <72873425+MRColorR@users.noreply.github.com> Date: Mon, 8 Apr 2024 10:02:51 +0200 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index d95e5c8..97294b0 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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 }}