Run docker-image workflow when PRs on main are merged
This commit is contained in:
parent
9168d17d60
commit
c80eee387a
1 changed files with 7 additions and 1 deletions
6
.github/workflows/docker-image.yml
vendored
6
.github/workflows/docker-image.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue