Skip to content
Snippets Groups Projects
Unverified Commit 61db5677 authored by Tom Wilkie's avatar Tom Wilkie Committed by GitHub
Browse files

Don't push docker images on forks. (#111)


Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
parent 6145da1f
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,9 @@ workflows:
- test
- build
- lint
filters:
branches:
only: master
- publish-master:
requires:
- test
......@@ -103,8 +106,10 @@ jobs:
- run:
name: Push Images
command: |
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" &&
make push-images
if [ -n "$DOCKER_USER" ]; then
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" &&
make push-images
fi
publish-master:
<<: *defaults
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment