Commit 48872469 authored by Carlos Juliano Viana's avatar Carlos Juliano Viana
Browse files

Removendo a instrução para fazer build com cache apenas de forma temporária,...

Removendo a instrução para fazer build com cache apenas de forma temporária, para podemros compilar da 1a vez.

[SOMA-6617]
[SOMA-4534]
parent 681fb13b
Pipeline #67018 passed with stages
in 4 minutes and 22 seconds
......@@ -95,12 +95,12 @@ static_check:
- docker pull $DOCKER_REGISTRY$DOCKER_REGISTRY_IMAGE_DIND:$LAST || true
- cd Docker/posix/
- |
docker build $BUILD_ARGS --cache-from $DOCKER_REGISTRY$CI_REGISTRY_IMAGE:$LAST \
docker build $BUILD_ARGS \
--tag $DOCKER_REGISTRY$CI_REGISTRY_IMAGE:$VERSION \
--tag $DOCKER_REGISTRY$CI_REGISTRY_IMAGE:$LAST .
- sed -r "s%^FROM .*%FROM $DOCKER_REGISTRY$CI_REGISTRY_IMAGE:$VERSION%" Dockerfile_sgadocker > /tmp/sgadind
- |
docker build --cache-from $DOCKER_REGISTRY$DOCKER_REGISTRY_IMAGE_DIND:$LAST \
docker build \
--tag $DOCKER_REGISTRY$DOCKER_REGISTRY_IMAGE_DIND:$VERSION \
--tag $DOCKER_REGISTRY$DOCKER_REGISTRY_IMAGE_DIND:$LAST -f /tmp/sgadind .
- rm -f /tmp/sgadind
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment