fixes [docker skip]
This commit is contained in:
parent
d31a228220
commit
d18b7abf6c
2 changed files with 5 additions and 5 deletions
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
@ -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: |
|
||||
|
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue