chore: Log _build contents

This commit is contained in:
Robert Prehn 2021-04-16 16:04:21 -05:00
parent 74eacb6ccf
commit 76ca450500

View file

@ -99,6 +99,7 @@ build_image_for_commit:
- _build/
- deps/
script:
- ls -la _build
- docker login "https://${CI_REGISTRY}" -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
- docker pull $CI_REGISTRY_IMAGE:latest || true
# This enables fast parallel builds
@ -109,6 +110,7 @@ build_image_for_commit:
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
# This copies the elixir build artifacts for deps and app so that we can cache them
- docker cp `docker create $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA`:/root/app/_build/prod _build
- ls -la _build
# If tests pass, tag the commit and update package versions
deploy_to_tags: