Update docker.yml

This commit is contained in:
Dane Everitt 2020-11-14 20:15:46 -08:00
parent 89e10fd7f2
commit 509c4e577b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -9,7 +9,9 @@ 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')"
# Always run against a tag, even if the commit into the tag has [docker skip]
# within the commit message.
if: "!contains(github.ref, 'develop') || (!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