Skip to content

Commit 509c4e5

Browse files
committed
Update docker.yml
1 parent 89e10fd commit 509c4e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
push_to_registry:
1010
name: Push Image to GitHub Packages
1111
runs-on: ubuntu-latest
12-
if: "!contains(github.event.head_commit.message, 'skip docker') && !contains(github.event.head_commit.message, 'docker skip')"
12+
# Always run against a tag, even if the commit into the tag has [docker skip]
13+
# within the commit message.
14+
if: "!contains(github.ref, 'develop') || (!contains(github.event.head_commit.message, 'skip docker') && !contains(github.event.head_commit.message, 'docker skip'))"
1315
steps:
1416
- uses: actions/checkout@v2
1517
- uses: docker/setup-qemu-action@v1

0 commit comments

Comments
 (0)