From 5fdc09a5b9f6cfc0ae31f70acb0ad4a2f4b1944e Mon Sep 17 00:00:00 2001 From: Deluan Date: Mon, 27 Apr 2020 14:59:12 -0400 Subject: [PATCH] Fix pipeline (disable docker job when running on a PR from a forked repo) --- .github/workflows/pipeline.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index d240f27c..6c086676 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -140,21 +140,21 @@ jobs: - name: Set up Docker Buildx id: buildx uses: crazy-max/ghaction-docker-buildx@v1 - if: ${{env.DOCKER_IMAGE}} != '' + if: env.DOCKER_IMAGE != '' with: version: latest - uses: actions/checkout@v1 - if: ${{env.DOCKER_IMAGE}} != '' + if: env.DOCKER_IMAGE != '' - uses: actions/download-artifact@v1 - if: ${{env.DOCKER_IMAGE}} != '' + if: env.DOCKER_IMAGE != '' with: name: binaries path: dist - name: Build the Docker image and push - if: ${{env.DOCKER_IMAGE}} != '' + if: env.DOCKER_IMAGE != '' env: DOCKER_IMAGE: ${{secrets.DOCKER_IMAGE}} DOCKER_PLATFORM: linux/amd64,linux/arm/v7,linux/arm64