Commit 63316354 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

ci: added deploy stage

parent b6732c41
......@@ -16,6 +16,7 @@ stages:
- prepare
- build
- test
- deploy
prepare:
stage: prepare
......@@ -49,3 +50,17 @@ test_job:
- build_job
tags:
- docker
deploy:docker:
stage: deploy
script:
- docker build -t ${DOCKER_IMAGE} -f packaging/docker/Dockerfile .
- docker tag villas/web:${DOCKER_TAG} villas/web:latest
- docker push villas/web:${DOCKER_TAG}
- docker push villas/web:latest
tags:
- shell
- linux
only:
refs:
- master
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment