mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[Buildkite] Control clean builds with agent metadata (#840)
This is to optimise build times at the sacrifice of disk space/clean up tasks.
This commit is contained in:
parent
49ac65eb41
commit
3de1827b21
|
@ -2,5 +2,7 @@
|
|||
|
||||
set +u
|
||||
|
||||
echo "--- :docker: Clean environment"
|
||||
docker system prune -af --volumes
|
||||
if [[ $BUILDKITE_AGENT_META_DATA_CLEANBUILD != "false" ]]; then
|
||||
echo "--- :docker: Clean environment"
|
||||
docker system prune -af --volumes
|
||||
fi
|
Loading…
Reference in New Issue
Block a user