From 09aaa70b423c8889500722dfb538224d8185543e Mon Sep 17 00:00:00 2001 From: Robin Tuszik <47579899+rtuszik@users.noreply.github.com> Date: Fri, 30 Aug 2024 00:44:57 +0200 Subject: [PATCH] feat(ci): add release trigger to Docker workflow - Change trigger from `push` to `release` with `released` event type to only run on published releases --- .github/workflows/docker-build-push.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml index 1a16c33..128786e 100644 --- a/.github/workflows/docker-build-push.yml +++ b/.github/workflows/docker-build-push.yml @@ -2,12 +2,9 @@ name: Docker Build and Push on: workflow_dispatch: - push: - branches: - - main - paths: - - src/** - - Dockerfile + release: + types: + - released env: REGISTRY: ghcr.io