summaryrefslogtreecommitdiffstats
path: root/auth/docker/dclean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker/dclean.sh')
-rw-r--r--auth/docker/dclean.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/auth/docker/dclean.sh b/auth/docker/dclean.sh
index d83a1329..f8550674 100644
--- a/auth/docker/dclean.sh
+++ b/auth/docker/dclean.sh
@@ -8,14 +8,10 @@ else
AAF_COMPONENTS="$@"
fi
-docker image rm $ORG/$PROJECT/aaf_agent:${VERSION}
-docker image rm $ORG/$PROJECT/aaf_config:${VERSION}
-docker image rm $ORG/$PROJECT/aaf_core:${VERSION}
-
echo "Y" | docker container prune
for AAF_COMPONENT in ${AAF_COMPONENTS}; do
docker image rm $ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION}
- if [ "$PREFIX" = "" ]; then
+ if [ ! "$PREFIX" = "" ]; then
docker image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION}
docker image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:latest
fi