From 1e9874461c66800734d30d88974104178009d255 Mon Sep 17 00:00:00 2001 From: OhSeongRak Date: Tue, 17 Jun 2025 17:05:46 +0900 Subject: [PATCH] refactor: deployment --- deployment/Jenkinsfile_ArgoCD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/deployment/Jenkinsfile_ArgoCD b/deployment/Jenkinsfile_ArgoCD index 099dcc5..0c6aec3 100644 --- a/deployment/Jenkinsfile_ArgoCD +++ b/deployment/Jenkinsfile_ArgoCD @@ -58,8 +58,8 @@ spec: } stage('Build & Push Image') { - container('podman') { - steps { + steps { + container('podman') { script { sh """ podman build \\ @@ -82,13 +82,13 @@ spec: } stage('Update Manifest Repository') { - container('git') { - withCredentials([usernamePassword( - credentialsId: 'github-credentials-${env.TEAMID}', - usernameVariable: 'GIT_USERNAME', - passwordVariable: 'GIT_PASSWORD' - )]) { - steps { + steps { + container('git') { + withCredentials([usernamePassword( + credentialsId: 'github-credentials-${env.TEAMID}', + usernameVariable: 'GIT_USERNAME', + passwordVariable: 'GIT_PASSWORD' + )]) { sh """ # Git 설정 git config --global user.name "Jenkins"