From d31a2282208f002a723671091c766faa2ad0e6d4 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 14 Nov 2020 20:04:55 -0800 Subject: [PATCH] properly skip action [docker skip] --- .github/workflows/docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b74c5d574..a0e10db57 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,6 +9,7 @@ jobs: push_to_registry: name: Push Image to Github Packages runs-on: ubuntu-latest + if: !contains(github.event.head_commit.message, '[skip docker]') && !contains(github.event.head_commit.message, '[docker skip]') steps: - uses: actions/checkout@v2 - uses: docker/setup-qemu-action@v1 @@ -30,7 +31,7 @@ jobs: ghcr.io/pterodactyl/panel:${GITHUB_REF} - name: Release Development Build uses: docker/build-push-action@v2 - if: contains(github.ref, 'develop') && !contains(github.event.head_commit.message, '[skip docker]') && !contains(github.event.head_commit.message, '[docker skip]') + if: contains(github.ref, 'develop') with: push: true tags: |