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