Remove docker image after pipeline
MODIFY
ci/publish-images.sh
ci/publish-images.sh
if [[ $2 = "release" ]]; then
docker tag api-mgmt/devportal:$1 gitlab.scheer-group.com:8080/api-mgmt/devportal:$1
docker push gitlab.scheer-group.com:8080/api-mgmt/devportal:$1
+ docker image rm -f gitlab.scheer-group.com:8080/api-mgmt/devportal:$1
else
docker tag api-mgmt/devportal:$1 gitlab.scheer-group.com:8080/api-mgmt/devportal:latest
docker push gitlab.scheer-group.com:8080/api-mgmt/devportal:latest

GW-276: Remove docker image after pipeline