refactor: deployment

This commit is contained in:
OhSeongRak 2025-06-17 17:05:46 +09:00
parent 93ddac2c7d
commit 1e9874461c

View File

@ -58,8 +58,8 @@ spec:
} }
stage('Build & Push Image') { stage('Build & Push Image') {
container('podman') { steps {
steps { container('podman') {
script { script {
sh """ sh """
podman build \\ podman build \\
@ -82,13 +82,13 @@ spec:
} }
stage('Update Manifest Repository') { stage('Update Manifest Repository') {
container('git') { steps {
withCredentials([usernamePassword( container('git') {
credentialsId: 'github-credentials-${env.TEAMID}', withCredentials([usernamePassword(
usernameVariable: 'GIT_USERNAME', credentialsId: 'github-credentials-${env.TEAMID}',
passwordVariable: 'GIT_PASSWORD' usernameVariable: 'GIT_USERNAME',
)]) { passwordVariable: 'GIT_PASSWORD'
steps { )]) {
sh """ sh """
# Git 설정 # Git 설정
git config --global user.name "Jenkins" git config --global user.name "Jenkins"