[api] Jenkinsfile.pjt

- 레파지토리 이미지 목록 조회
This commit is contained in:
2026-02-04 17:38:08 +09:00
parent 567d658773
commit a956a94cbf
+2 -11
View File
@@ -224,17 +224,6 @@ pipeline {
}
}
stage('jq tools install') {
steps {
sh '''
if ! command -v jq >/dev/null; then
sudo apt-get update -y
sudo apt-get install -y jq
fi
'''
}
}
stage('12) registry docker image cleanup') {
steps {
withCredentials([usernamePassword(
@@ -245,6 +234,8 @@ pipeline {
sh '''
set -e
command -v jq >/dev/null 2>&1 || (sudo apt-get update -y && sudo apt-get install -y jq)
echo "[1/2] docker registry login"
echo "$DOCKER_PASS" | docker login ${REGISTRY_HOST} -u "$DOCKER_USER" --password-stdin