Skip to content

Commit

Permalink
chore: also clean up docker before docker build AB#23662
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisvisser committed Sep 18, 2023
1 parent 8592baf commit 3aeb4c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ function deploy() {
}

function cleanup_docker() {
log "Remove unused docker images..."
log "Clean up Docker..."

docker image prune -f
docker system prune -f
}

function test_integration() {
Expand Down Expand Up @@ -99,13 +99,15 @@ function deploy() {

load_environment_variables

cleanup_docker

update_containers

cleanup_docker

test_integration

test_performance
# test_performance

restart_webhook_service

Expand Down

0 comments on commit 3aeb4c3

Please sign in to comment.