Skip to content

Commit 663c789

Browse files
committed
Allow docker push from workflow dispatch in CI
1 parent 18be525 commit 663c789

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
release:
1212
types:
1313
- released
14+
workflow_dispatch:
1415

1516
jobs:
1617
ci:
@@ -31,7 +32,7 @@ jobs:
3132
env:
3233
REGISTRY: ghcr.io
3334
IMAGE_NAME: ${{ github.repository }}
34-
PUSH_DOCKER_IMAGE: ${{ github.ref == 'refs/heads/master' || github.event_name == 'release' }}
35+
PUSH_DOCKER_IMAGE: ${{ github.ref == 'refs/heads/master' || github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
3536
permissions:
3637
contents: read
3738
packages: write

0 commit comments

Comments
 (0)