Fix dockerignore in CI

This commit is contained in:
Tulir Asokan 2020-02-26 00:54:10 +02:00
parent ad93d8347e
commit 265307a870

View file

@ -33,7 +33,7 @@ build amd64:
tags:
- amd64
script:
- echo frontend >> .dockerignore
- echo maubot/management/frontend >> .dockerignore
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --pull --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-amd64 . -f Dockerfile.ci
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-amd64
@ -44,7 +44,7 @@ build arm64:
tags:
- arm64
script:
- echo frontend >> .dockerignore
- echo maubot/management/frontend >> .dockerignore
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --pull --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-arm64 . -f Dockerfile.ci
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-arm64