Skip to content

Commit 78a2071

Browse files
authored
Merge pull request #331 from opencrvs/image-cleanup
Configured_ssh is used, as the docker prune should work on deploy
2 parents 8402737 + b001ffb commit 78a2071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/deployment/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ split_and_join() {
271271
cleanup_docker_images()
272272
{
273273
echo "Cleaning up the docker images"
274-
/usr/bin/docker system prune -af | sudo tee -a /var/log/docker-prune.log > /dev/null
274+
configured_ssh "/usr/bin/docker system prune -af | sudo tee -a /var/log/docker-prune.log > /dev/null"
275275
}
276276

277277
docker_stack_deploy() {

0 commit comments

Comments
 (0)