fix: exclude crash dumps from Docker context
This commit is contained in:
parent
0bac8bdbca
commit
b8e122056e
|
|
@ -37,6 +37,8 @@
|
||||||
|
|
||||||
# Generated on crash by the VM
|
# Generated on crash by the VM
|
||||||
erl_crash.dump
|
erl_crash.dump
|
||||||
|
core
|
||||||
|
core.*
|
||||||
|
|
||||||
# Static artifacts - These should be fetched and built inside the Docker image
|
# Static artifacts - These should be fetched and built inside the Docker image
|
||||||
# https://phoenix.hexdocs.pm/Mix.Tasks.Phx.Gen.Release.html#module-docker
|
# https://phoenix.hexdocs.pm/Mix.Tasks.Phx.Gen.Release.html#module-docker
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,10 @@ docker run --rm \
|
||||||
--workdir /repo \
|
--workdir /repo \
|
||||||
"$ACTIONLINT_IMAGE"
|
"$ACTIONLINT_IMAGE"
|
||||||
|
|
||||||
|
echo "Checking crash dumps are excluded from the Docker build context"
|
||||||
|
grep -Fx 'core' .dockerignore >/dev/null
|
||||||
|
grep -Fx 'core.*' .dockerignore >/dev/null
|
||||||
|
|
||||||
echo "Rendering every Docker Compose profile"
|
echo "Rendering every Docker Compose profile"
|
||||||
docker compose --env-file .env.example -f compose.yaml config --quiet
|
docker compose --env-file .env.example -f compose.yaml config --quiet
|
||||||
docker compose --env-file .env.example -f compose.yaml config --format json |
|
docker compose --env-file .env.example -f compose.yaml config --format json |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user