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

Commit 3830039

Browse files
committed
Fix nightly step condition
1 parent 543638b commit 3830039

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') || github.event.inputs.tag == ''
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)