This commit is contained in:
parent
60dbf5a999
commit
f006660aee
1 changed files with 3 additions and 3 deletions
|
@ -17,6 +17,6 @@ steps:
|
|||
- master
|
||||
image: docker:latest
|
||||
commands:
|
||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||
- docker build -t $CI_REGISTRY_IMAGE/master . -f Dockerfile
|
||||
- docker push $CI_REGISTRY_IMAGE/master
|
||||
- docker login -u $REGISTRY_USER -p $REGISTRY_PASSWD $REGISTRY
|
||||
- docker build -t $REGISTRY/bin:latest . -f Dockerfile
|
||||
- docker push $REGISTRY/bin:latest
|
||||
|
|
Loading…
Reference in a new issue