Commit 405c8ac1 authored by David's avatar David

Tweaks to the build

parent 02c2559b
Pipeline #38 failed with stage
in 21 seconds
......@@ -33,6 +33,8 @@ build:
stage: build
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- cd wordpress-container
- docker build -t $CI_REGISTRY:latest .
- docker push $CI_REGISTRY:latest
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:latest
Markdown is supported
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