2018-04-16 13:44:11 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
2019-05-13 13:07:19 +00:00
|
|
|
image: eu.gcr.io/avatao-challengestore/challenge-builder
|
2018-04-16 13:44:11 +00:00
|
|
|
volumes:
|
|
|
|
- /etc/docker:/etc/docker:ro
|
|
|
|
- /root/.docker:/root/.docker:ro
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
commands:
|
|
|
|
- docker build --pull -t eu.gcr.io/avatao-challengestore/tutorial-framework:${DRONE_TAG} .
|
|
|
|
- docker push eu.gcr.io/avatao-challengestore/tutorial-framework:${DRONE_TAG}
|
|
|
|
when:
|
|
|
|
event: 'tag'
|
2019-05-16 21:44:44 +00:00
|
|
|
branch: refs/tags/chausie-20*
|