Merge pull request #1 from tyclipso/misc/test-pull-request-action

misc: fix docker.yml
pull/7734/head
Carl Richter 4 years ago committed by GitHub
commit db6bb9e0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save