fixes [docker skip]

This commit is contained in:
Dane Everitt 2020-11-14 20:06:58 -08:00
parent d31a228220
commit d18b7abf6c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 5 additions and 5 deletions

View file

@ -7,9 +7,9 @@ on:
- 'v*'
jobs:
push_to_registry:
name: Push Image to Github Packages
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]')
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
@ -21,7 +21,7 @@ jobs:
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Release Production Build
uses: docker/build-push-action@v2
if: contains(github.ref, 'develop') != true
if: "!contains(github.ref, 'develop')"
env:
GITHUB_REF: ${{ github.ref }}
with:
@ -31,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')
if: "contains(github.ref, 'develop')"
with:
push: true
tags: |

View file

@ -7,8 +7,8 @@ on:
pull_request:
jobs:
integration_tests:
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')"
services:
mysql:
image: mysql:5.7