aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-09-27 10:59:45 +0200
committerBjørn Erik Pedersen <[email protected]>2024-09-27 10:59:45 +0200
commit0d390d7eb8daa95d1e1ec2d97fea24d9e6740ee2 (patch)
tree5bdd690ca0243fc8c718dc55e4d993dbbc8c5ca1
parentda72ac2db990d5acea98b0f02ef7c35966ed9167 (diff)
downloadhugo-0d390d7eb8daa95d1e1ec2d97fea24d9e6740ee2.tar.gz
hugo-0d390d7eb8daa95d1e1ec2d97fea24d9e6740ee2.zip
github: Trigger image workflow on release.published
Updates #12753
-rw-r--r--.github/workflows/image.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
index 114a0ca2a..be128d6fd 100644
--- a/.github/workflows/image.yml
+++ b/.github/workflows/image.yml
@@ -1,10 +1,8 @@
name: Build Docker image
on:
- push:
- tags:
- - "*"
- workflow_dispatch:
+ release:
+ types: [published]
permissions:
packages: write