Skip to content

Commit

Permalink
Fix Docker publish (#2887)
Browse files Browse the repository at this point in the history
* Fix Docker publish

* Remove workflow dispatch

The actions uses data from the release object itself, so workflow dispatch doesn't work anyway

* More fixes
  • Loading branch information
prryplatypus committed Jan 1, 2024
1 parent fa72e80 commit acb29c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-release.yml
Expand Up @@ -3,7 +3,6 @@ name: Publish release
on:
release:
types: [created]
workflow_dispatch:

env:
IS_TEST: false
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit acb29c9

Please sign in to comment.