Skip to content

Commit 242a796

Browse files
ci(docker): add workflow dispatch to docker publish (#2653)
* ci(docker): make docker publish triggerable manually * ci(docker): remove need for commit message
1 parent dbc708d commit 242a796

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/docker-publish-artillery.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Publish Docker image for Artillery
22

33
on:
4+
workflow_dispatch:
5+
inputs:
6+
COMMIT_SHA:
7+
description: 'Commit SHA'
8+
required: true
9+
type: string
410
workflow_call:
511
inputs:
612
COMMIT_SHA:
@@ -17,7 +23,6 @@ on:
1723

1824
jobs:
1925
push_to_registry:
20-
if: "contains(github.event.head_commit.message, 'ci: release v')"
2126
name: Push Docker image to Docker Hub
2227
runs-on: ubuntu-latest
2328
steps:

0 commit comments

Comments
 (0)