Merge branch '37-docker-container-image-name-is-the-same-as-frontend-and-thus-overwrites-their-image' into 'dev'
Resolve "Docker container image name is the same as frontend and thus overwrites their image" Closes #37 See merge request sa4-2020/the-sanmarinoes/backend!48
This commit is contained in:
commit
4f9d8534ae
1 changed files with 5 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue