Revert "Pull existing container to aid build"

This reverts commit 8ab7e3d70e.

The registry is remote, so this takes a while
This commit is contained in:
Jake Howard 2022-08-27 14:48:11 +01:00
parent e79625a441
commit 830def684b
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -53,7 +53,6 @@ build_container:
before_script: before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script: script:
- docker pull $CI_REGISTRY_IMAGE:latest # Pull existing image to help with build caching
- docker build -t website --target production -t $IMAGE_TAG . - docker build -t website --target production -t $IMAGE_TAG .
- docker push $IMAGE_TAG - docker push $IMAGE_TAG