From 465e4cfed37f05e99e8efc740b5404d2157e5cb9 Mon Sep 17 00:00:00 2001 From: Julien <6372605+fetzu@users.noreply.github.com> Date: Sat, 10 Aug 2024 12:35:54 +0200 Subject: [PATCH] fix/build: trigger release when pre-release is changed to release (part un-et-demi) Still not working properly. ~ Tried fixing the conditions within the build step + added ability to trigger workflow manually for now... --- .github/workflows/build_latest.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 58f3274..b457805 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -8,6 +8,7 @@ on: types: - 'released' - 'edited' + workflow_dispatch: jobs: push_to_registries: @@ -50,7 +51,7 @@ jobs: type=semver,pattern={{version}} - name: Build and push Docker images for releases - if: github.event_name == 'release' + if: github.event.action == 'released' || github.event.action == 'edited' uses: docker/build-push-action@v6 with: platforms: linux/amd64,linux/arm64,linux/arm/v7