properly skip action [docker skip]

This commit is contained in:
Dane Everitt 2020-11-14 20:04:55 -08:00
parent 8065b7d9f5
commit d31a228220
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -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: |