From 68e7281c32433dd7dd0d13f4ff4e5358bf4761de Mon Sep 17 00:00:00 2001 From: Joe Yates Date: Fri, 3 Nov 2023 08:59:22 +0100 Subject: [PATCH] Build images when releases are published --- .github/workflows/publish-image.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-image.yaml b/.github/workflows/publish-image.yaml index 4051cf32..831ddfae 100644 --- a/.github/workflows/publish-image.yaml +++ b/.github/workflows/publish-image.yaml @@ -1,9 +1,9 @@ name: Build and publish the production container image to the GitHub Registry -# Run this workflow every time on every push to the branch `release`. +# Run this workflow when new releases are created on: - push: - branches: ['releases'] + release: + types: [published] env: IMAGE_NAME: imap-backup