chore: Log _build contents
This commit is contained in:
parent
74eacb6ccf
commit
76ca450500
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,7 @@ build_image_for_commit:
|
||||||
- _build/
|
- _build/
|
||||||
- deps/
|
- deps/
|
||||||
script:
|
script:
|
||||||
|
- ls -la _build
|
||||||
- docker login "https://${CI_REGISTRY}" -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
|
- docker login "https://${CI_REGISTRY}" -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
|
||||||
- docker pull $CI_REGISTRY_IMAGE:latest || true
|
- docker pull $CI_REGISTRY_IMAGE:latest || true
|
||||||
# This enables fast parallel builds
|
# This enables fast parallel builds
|
||||||
|
@ -109,6 +110,7 @@ build_image_for_commit:
|
||||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||||
# This copies the elixir build artifacts for deps and app so that we can cache them
|
# 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
|
- 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
|
# If tests pass, tag the commit and update package versions
|
||||||
deploy_to_tags:
|
deploy_to_tags:
|
||||||
|
|
Loading…
Reference in a new issue