Gitlab CI config update.
This commit is contained in:
parent
c27efd5fc8
commit
8ccca639a3
@ -27,6 +27,8 @@ build-local-registry-latest:
|
|||||||
script:
|
script:
|
||||||
- docker build --pull -t $LOCAL_REGISTRY_IMAGE_LATEST .
|
- docker build --pull -t $LOCAL_REGISTRY_IMAGE_LATEST .
|
||||||
- docker push $LOCAL_REGISTRY_IMAGE_LATEST
|
- docker push $LOCAL_REGISTRY_IMAGE_LATEST
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
build-local-registry-version:
|
build-local-registry-version:
|
||||||
stage: build
|
stage: build
|
||||||
@ -45,6 +47,8 @@ build-dockerhub-latest:
|
|||||||
script:
|
script:
|
||||||
- docker build --pull -t $DOCKERHUB_IMAGE_LATEST .
|
- docker build --pull -t $DOCKERHUB_IMAGE_LATEST .
|
||||||
- docker push $DOCKERHUB_IMAGE_LATEST
|
- docker push $DOCKERHUB_IMAGE_LATEST
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
build-dockerhub-version:
|
build-dockerhub-version:
|
||||||
stage: build
|
stage: build
|
||||||
|
Loading…
Reference in New Issue
Block a user