Changed docker image name on CI deploy stage

This commit is contained in:
Claudio Maggioni 2020-03-18 16:08:49 +01:00
parent 3205dcf617
commit f367d9ac59

View File

@ -22,11 +22,13 @@ smarthut_deploy:
- docker info
- docker login -u smarthutsm -p $CI_DOCKER_PASS #GiovanniRoberto
script:
- "docker build -t smarthutsm/smarthut:${CI_COMMIT_BRANCH} --pull ."
- "docker push smarthutsm/smarthut:${CI_COMMIT_BRANCH}"
- "docker build -t smarthutsm/smarthut-backend:${CI_COMMIT_BRANCH} --pull ."
- "docker push smarthutsm/smarthut-backend:${CI_COMMIT_BRANCH}"
after_script:
- docker logout
only:
- dev
- master
#base checks for the code
build: