CI?
This commit is contained in:
parent
c1c3086087
commit
f3aab8d43b
@ -16,7 +16,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.pztrn.name
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
- docker info
|
- docker info
|
||||||
|
|
||||||
build-local-registry-latest:
|
build-local-registry-latest:
|
||||||
@ -42,7 +42,7 @@ build-dockerhub-latest:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
|
- docker login -u $DOCKERHUB_USER -p "$DOCKERHUB_PASSWORD"
|
||||||
- docker build --pull -t $DOCKERHUB_IMAGE_LATEST .
|
- docker build --pull -t $DOCKERHUB_IMAGE_LATEST .
|
||||||
- docker push $DOCKERHUB_IMAGE_LATEST
|
- docker push $DOCKERHUB_IMAGE_LATEST
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ build-dockerhub-version:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
|
- docker login -u $DOCKERHUB_USER -p "$DOCKERHUB_PASSWORD"
|
||||||
- docker build --pull -t $DOCKERHUB_IMAGE_TAGGED .
|
- docker build --pull -t $DOCKERHUB_IMAGE_TAGGED .
|
||||||
- docker push $DOCKERHUB_IMAGE_TAGGED
|
- docker push $DOCKERHUB_IMAGE_TAGGED
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user