misc: fix docker.yml

pull/7734/head
Carl Richter 4 years ago
parent 9a8f1ba9e2
commit 5f423eb7d1

@ -19,7 +19,7 @@ jobs:
# Test building the docker image on pull requests
test-build:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
if: github.event_name == 'pull_request'
steps:
- name: Checkout repository
uses: actions/checkout@v2
@ -38,7 +38,7 @@ jobs:
# See also https://docs.docker.com/docker-hub/builds/
build-and-push-image:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
if: github.event_name == 'push'
permissions:
contents: read

Loading…
Cancel
Save