Skip to content

Commit

Permalink
Configure docker workflow to run also on merged pull requests (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob93c authored Oct 15, 2023
2 parents 378ded0 + 925729a commit 577ff3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Docker Image CI
on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- master
Expand Down Expand Up @@ -32,7 +37,7 @@ jobs:
rob93c/christmas-greeter
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch,enable=${{ github.ref != 'refs/heads/master' }}
type=ref,event=branch,enable=${{ github.ref != github.event.repository.default_branch }}
type=ref,event=pr
- name: Upload Docker image
Expand Down

0 comments on commit 577ff3f

Please sign in to comment.