Skip to content

Commit d31a228

Browse files
committed
properly skip action [docker skip]
1 parent 8065b7d commit d31a228

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ 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]')
1213
steps:
1314
- uses: actions/checkout@v2
1415
- uses: docker/setup-qemu-action@v1
@@ -30,7 +31,7 @@ jobs:
3031
ghcr.io/pterodactyl/panel:${GITHUB_REF}
3132
- name: Release Development Build
3233
uses: docker/build-push-action@v2
33-
if: contains(github.ref, 'develop') && !contains(github.event.head_commit.message, '[skip docker]') && !contains(github.event.head_commit.message, '[docker skip]')
34+
if: contains(github.ref, 'develop')
3435
with:
3536
push: true
3637
tags: |

0 commit comments

Comments
 (0)