forked from Alex/Pterodactyl-Panel
properly skip action [docker skip]
This commit is contained in:
parent
8065b7d9f5
commit
d31a228220
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 New Issue
Block a user