Skip to content

Commit 4a1bc91

Browse files
Merge pull request #10 from GeorgeDavis-Ibexlabs/github-ci
Fix CI triggers to run only on releases
2 parents 9f37ae7 + 3005bdd commit 4a1bc91

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@
1010
name: Publish Docker image
1111

1212
on:
13-
# Triggers the workflow on push or pull request events but only for the "main" branch
14-
push:
15-
branches: [ "main" ]
16-
pull_request:
17-
branches: [ "main" ]
13+
release:
14+
types: [published]
1815

1916
jobs:
2017
push_to_registry:

0 commit comments

Comments
 (0)