build: don't try to docker build for third party users

This commit is contained in:
James R. Barlow
2021-08-04 02:47:03 -07:00
parent 0fc5067ab6
commit ae49e3b6db
+1
View File
@@ -232,6 +232,7 @@ jobs:
name: Build Docker images
needs: [wheel_sdist_linux, test_linux, test_macos, test_windows]
runs-on: ubuntu-latest
if: secrets.DOCKERHUB_TOKEN
steps:
- name: Set image tag to release or branch
run: echo "DOCKER_IMAGE_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV