[api] Jenkinsfile.pjt
- 삭제정책 추가
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ pipeline {
|
||||
|
||||
Repo='"${REGISTRY_HOST}/${IMAGE_REPO}"'
|
||||
|
||||
docker images "${Repo}" --format '{{.Repository}}:{{.Tag}}' | grep -v -F -f <(docker ps --format '{{.Image}}')
|
||||
docker images "${Repo}" --format '{{.Repository}}:{{.Tag}}' | grep -v -F -f <(docker ps --format '{{.Image}}') | xargs -r docker rmi
|
||||
'
|
||||
'''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user