diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index e7e2534..a6686eb 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -81,7 +81,7 @@ jobs: # whether the current release tag is the greatest overall and/or # within its major version. - name: Prepare metadata (release tags) - if: github.event_name == 'release' && github.event.action == 'published' + if: (github.event_name == 'release' && github.event.action == 'published') || (github.event_name == 'workflow_dispatch' && github.ref_type == 'tag') run: | # Retrieve the greatest existing tag in the repository by sorting tags in descending order. # Options used: