Run docker-image workflow when PRs on main are merged

This commit is contained in:
William Brawner 2024-03-14 21:31:22 -06:00
parent 9168d17d60
commit c80eee387a
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -4,9 +4,15 @@ on:
branches: main
tags:
- '*'
pull_request:
types:
closed
branches:
- 'main'
jobs:
push_to_registry:
if: github.event.pull_request.merged == true
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps: