Skip to content
Snippets Groups Projects
Commit 500d5ba8 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add test stage for non-master branches

parent 0265033e
No related branches found
No related tags found
No related merge requests found
......@@ -6,12 +6,26 @@ variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
stages:
- test
- publish
before_script:
- apk --no-cache add python git
test:
stage: test
script:
- git diff-tree --no-commit-id --name-only -r HEAD
- python publish_images.py -q
tags:
- docker
except:
- master
build:
publish:
stage: publish
script:
- git diff-tree --no-commit-id --name-only -r HEAD
- python publish_images.py
......
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