summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2018-11-05 15:50:12 +0530
committerNigel Babu <nigelb@redhat.com>2018-11-26 11:55:14 +0000
commit7f9e11ad23503dd6ef1af1068e8fa143b2c8f235 (patch)
tree8e129990af60dad931f3fbdd2775ae39a4cfbd40
parentef1896e5446b647e4ce1438ea9b6f59fbe575fe0 (diff)
Clean up old images
Change-Id: I6fbfb2afad2bf4e4812a797ef8f6d8ac30078af7
-rw-r--r--build-gluster-org/scripts/glusterd2-containers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/glusterd2-containers.sh b/build-gluster-org/scripts/glusterd2-containers.sh
index d5a8637..e2c61cc 100644
--- a/build-gluster-org/scripts/glusterd2-containers.sh
+++ b/build-gluster-org/scripts/glusterd2-containers.sh
@@ -8,3 +8,4 @@ if [ "$PUSH_TO_HUB" = true ]; then
buildah push --authfile $AUTH_JSON "localhost/$IMG_NAME:$IMG_VERSION" "docker://docker.io/gluster/glusterd2-nightly:$IMG_VERSION"
buildah push --authfile $AUTH_JSON "localhost/$IMG_NAME:$IMG_VERSION" "docker://docker.io/gluster/glusterd2-nightly:latest"
fi
+buildah rmi --all