From acb29c9dc4d6ba3a453a18e30f0664ba6772a9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9stor=20P=C3=A9rez?= <25409753+prryplatypus@users.noreply.github.com> Date: Tue, 2 Jan 2024 00:45:07 +1100 Subject: [PATCH] Fix Docker publish (#2887) * Fix Docker publish * Remove workflow dispatch The actions uses data from the release object itself, so workflow dispatch doesn't work anyway * More fixes --- .github/workflows/publish-release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a2e4ee9345..515de0fa01 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -3,7 +3,6 @@ name: Publish release on: release: types: [created] - workflow_dispatch: env: IS_TEST: false @@ -70,7 +69,7 @@ jobs: tags="${tag_year}.${tag_month}" if [[ "${tag_month}" == "12" ]]; then - tags+=",LTS" + tags+=",lts" echo "::notice::Tag ${tag} is LTS version" else echo "::notice::Tag ${tag} is not LTS version" @@ -123,7 +122,7 @@ jobs: name: Publish Docker / Python ${{ matrix.python-version }} needs: [generate_info, publish_package] runs-on: ubuntu-latest - if: ${{ needs.generate_info.IS_TEST == 'false' }} + if: ${{ needs.generate_info.outputs.is-test == 'false' }} strategy: fail-fast: true matrix: