2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 01:00:26 +01:00

fix bad docker layer cache locations

This commit is contained in:
Frederik Ring 2019-09-11 13:54:22 +02:00
parent 5a1fb6698e
commit ecedd47c4d

View File

@ -169,12 +169,13 @@ jobs:
name: Load Docker image layer cache name: Load Docker image layer cache
command: | command: |
set +o pipefail set +o pipefail
docker load -i /caches/app.tar | true docker load -i /caches/proxy.tar | true
docker load -i /caches/server.tar | true
- run: - run:
name: Build application Docker image name: Build application Docker image
command: | command: |
docker build -t offen/server:$DOCKER_IMAGE_TAG -f build/server/Dockerfile . docker build --cache-from=offen/server -t offen/server:$DOCKER_IMAGE_TAG -f build/server/Dockerfile .
docker build --build-arg siteurl=$SITEURL -t offen/proxy:$DOCKER_IMAGE_TAG -f build/proxy/Dockerfile . docker build --build-arg --cache-from=offen/proxy siteurl=$SITEURL -t offen/proxy:$DOCKER_IMAGE_TAG -f build/proxy/Dockerfile .
- run: - run:
name: Save Docker image layer cache name: Save Docker image layer cache
command: | command: |