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: