Changed docker image name on CI deploy stage
This commit is contained in:
parent
3205dcf617
commit
f367d9ac59
1 changed files with 5 additions and 3 deletions
|
@ -22,11 +22,13 @@ smarthut_deploy:
|
||||||
- docker info
|
- docker info
|
||||||
- docker login -u smarthutsm -p $CI_DOCKER_PASS #GiovanniRoberto
|
- docker login -u smarthutsm -p $CI_DOCKER_PASS #GiovanniRoberto
|
||||||
script:
|
script:
|
||||||
- "docker build -t smarthutsm/smarthut:${CI_COMMIT_BRANCH} --pull ."
|
- "docker build -t smarthutsm/smarthut-backend:${CI_COMMIT_BRANCH} --pull ."
|
||||||
- "docker push smarthutsm/smarthut:${CI_COMMIT_BRANCH}"
|
- "docker push smarthutsm/smarthut-backend:${CI_COMMIT_BRANCH}"
|
||||||
after_script:
|
after_script:
|
||||||
- docker logout
|
- docker logout
|
||||||
|
only:
|
||||||
|
- dev
|
||||||
|
- master
|
||||||
|
|
||||||
#base checks for the code
|
#base checks for the code
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Reference in a new issue