Commit fee2ad2f authored by Martin Vala's avatar Martin Vala
Browse files

Version increased to 1.0.2

parent 9039800e
Pipeline #314857 passed with stage
in 6 minutes and 51 seconds
Name: eos-docker-utils
Version: 1.1.0
Version: 1.0.2
Release: 0%{?dist}
Summary: EOS docker utils
License: LGPL v3+
......
......@@ -411,7 +411,7 @@ function eosDockerFirewallPrint() {
function eosDockerCleanDocker() {
$ED_DOCKER_CMD stop $($ED_DOCKER_CMD ps --format "{{.Names}}" | grep eos-)> /dev/null 2>&1
$ED_DOCKER_CMD rm $($ED_DOCKER_CMD ps --format "{{.Names}}" | grep eos-)> /dev/null 2>&1
for d in $($ED_DOCKER_CMD images --format "{{.ID}}_{{.Repository}}:{{.Tag}}" --filter=reference=gitlab-registry.cern.ch/dss/eos/eos-prod | grep -v $ED_DOCKER_PREFIX/$ED_DOCKER_IMAGE_NAME_VERSION); do
for d in $($ED_DOCKER_CMD images --format "{{.ID}}_{{.Repository}}:{{.Tag}}" --filter=reference=$ED_DOCKER_PREFIX/$(echo $ED_DOCKER_IMAGE_NAME_VERSION | cut -d ':' -f1) | grep -v $ED_DOCKER_PREFIX/$ED_DOCKER_IMAGE_NAME_VERSION); do
INFO "Removing image '$d' ..."
img=$(echo "$d" | cut -d '_' -f1)
$ED_DOCKER_CMD rmi -f $img > /dev/null 2>&1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment