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

Commit 78479f0

Browse files
authored
Merge pull request #73 from microsoftgraph/chore/docker_image
Fix issue with steps not running in workflow dispatch
2 parents ee0a77f + 7a798b3 commit 78479f0

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
@@ -4,7 +4,7 @@ on:
44
inputs:
55
tag:
66
description: 'The tag to build'
7-
required: true
7+
required: false
88
type: string
99
push:
1010
branches: [main]
@@ -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

0 commit comments

Comments
 (0)