From fc506a3a0f2ea9d381882e9b420b207a7342cc0c Mon Sep 17 00:00:00 2001 From: Bart Schilperoort Date: Fri, 30 Aug 2024 15:30:17 +0200 Subject: [PATCH] Publish container upon release --- .github/workflows/publish-container.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 1122e3b4..6ac638aa 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -2,8 +2,8 @@ name: Create and publish a Docker image on: - push: - branches: ['main'] + release: + types: [published] # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. env: