Skip to content

Commit

Permalink
Merge pull request #2154 from andrew-platt/f/docker_on_release
Browse files Browse the repository at this point in the history
GH actions: build docker on release instead of merge
  • Loading branch information
andrew-platt committed Apr 11, 2024
2 parents d5ce801 + 2166f9f commit 26d570f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-docker-image-automatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 26d570f

Please sign in to comment.