From 2166f9faeeb3ec8493ba3e570852df2ca342fd7b Mon Sep 17 00:00:00 2001 From: andrew-platt Date: Thu, 11 Apr 2024 11:19:45 -0600 Subject: [PATCH] GH actions: build docker on release instead of merge --- .github/workflows/build-docker-image-automatic.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-docker-image-automatic.yml b/.github/workflows/build-docker-image-automatic.yml index 0fc86470f3..01b80fcac2 100644 --- a/.github/workflows/build-docker-image-automatic.yml +++ b/.github/workflows/build-docker-image-automatic.yml @@ -5,15 +5,12 @@ name: build-docker-image-automatic on: - pull_request: + release: types: - - closed - branches: - - main + - released jobs: build-and-push: - if: ${{ (github.event.pull_request.merged == true) && startsWith(github.head_ref, 'rc-') }} runs-on: ubuntu-latest timeout-minutes: 300 env: