From f7461076972cb0fdc760a836cbd1aebe0f46416a Mon Sep 17 00:00:00 2001 From: Richard Beales Date: Sun, 16 Apr 2023 20:11:45 +0100 Subject: [PATCH] Update docker-hub image push action Change the trigger to on-release rather than on-push otherwise image will be tagged with wrong (previous) version --- .github/workflows/dockerhub-imagepush.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub-imagepush.yml b/.github/workflows/dockerhub-imagepush.yml index 6805eebf..814e2756 100644 --- a/.github/workflows/dockerhub-imagepush.yml +++ b/.github/workflows/dockerhub-imagepush.yml @@ -1,8 +1,8 @@ name: Push Docker Image on Release on: - push: - branches: [ "stable" ] + release: + types: [published] jobs: