From 3769d3cdaa43ecce59db91a698474f81a294c53c Mon Sep 17 00:00:00 2001 From: Emmanuel Babalola Date: Mon, 29 Nov 2021 00:57:07 -0500 Subject: [PATCH 1/2] add trigger on release publish --- .github/workflows/publish-image.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index c3f9e7a..0ef9f02 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -6,6 +6,9 @@ on: - main tags: - v* + release: + types: + - published env: DOCKER_USER: bilts From d066c538a7d67c3fa12420191b8dc1e88f74d6d2 Mon Sep 17 00:00:00 2001 From: Emmanuel Babalola Date: Mon, 29 Nov 2021 09:32:57 -0500 Subject: [PATCH 2/2] add trigger on release publish-remove trigger on tag --- .github/workflows/publish-image.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 0ef9f02..d0424b2 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -4,8 +4,6 @@ on: push: branches: - main - tags: - - v* release: types: - published