Skip to content
Snippets Groups Projects
Commit 9fc7055f authored by Chris Hines's avatar Chris Hines
Browse files

add a deploy phase

parent bd2e5773
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,6 @@ build:
- docker login -u $DOCKERHUBUSER -p $DOCKERHUBPASSWORD docker.io
- docker build --tag=l1ll1/tes .
- docker push l1ll1/tes:latest
artifacts:
paths:
- tes.tar.gz
deploy_test:
stage: deploy
......@@ -33,13 +30,11 @@ deploy_test:
deploy_dev:
stage: deploy
only:
- dev@hpc-team/strudelv2_spa
tags:
- deploy_dev
script:
- echo "deploying dev"
- ls -l
- ./install.sh
- sudo docker pull l1ll1/tes:latest
- sudo docker run l1ll1/tes:latest
dependencies:
- build
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