Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 543638b

Browse files
committed
Fix issue with steps not running in workflow dispatch
1 parent ee0a77f commit 543638b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
password: ${{ secrets.GITHUB_TOKEN }}
3535
registry: docker.pkg.github.com
3636
- name: Push to GitHub Packages - Nightly
37-
if: contains(github.ref, 'refs/head/main')
37+
if: contains(github.ref, 'refs/head/main') || github.event.inputs.tag == ''
3838
uses: docker/[email protected]
3939
with:
4040
push: true
@@ -43,7 +43,7 @@ jobs:
4343
"user=${{ secrets.NUGET_USER }}"
4444
"token=${{ secrets.NUGET_PASSWORD }}"
4545
- name: Push to GitHub Packages - Release
46-
if: contains(github.ref, 'refs/tags/v')
46+
if: contains(github.ref, 'refs/tags/v') || startsWith(github.event.inputs.tag, 'v')
4747
uses: docker/[email protected]
4848
with:
4949
push: true

0 commit comments

Comments
 (0)