devops: updated docker build command to include additional options for extra configuration.
This commit is contained in:
parent
515679f580
commit
4a60627631
@ -13,7 +13,7 @@ build-and-push docker image to local registry:
|
||||
stage: build
|
||||
script:
|
||||
- if ! test -z "$DOCKERFILE_DIRECTORY"; then cd ${DOCKERFILE_DIRECTORY}; fi
|
||||
- docker build -f "${DOCKERFILE_NAME}" -t "${CI_REGISTRY_IMAGE}:${DOCKER_IMAGE_TAG}" --progress=plain .
|
||||
- docker build -f "${DOCKERFILE_NAME}" -t "${CI_REGISTRY_IMAGE}:${DOCKER_IMAGE_TAG}" --progress=plain ${DOCKER_EXTRA_OPTS} .
|
||||
- docker push "${CI_REGISTRY_IMAGE}:${DOCKER_IMAGE_TAG}"
|
||||
|
||||
push docker to destination registry:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user