properly skip action [docker skip]
This commit is contained in:
parent
8065b7d9f5
commit
d31a228220
1 changed files with 2 additions and 1 deletions
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue