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') {
steps {
container('git') { container('git') {
withCredentials([usernamePassword( withCredentials([usernamePassword(
credentialsId: 'github-credentials-${env.TEAMID}', credentialsId: 'github-credentials-${env.TEAMID}',
usernameVariable: 'GIT_USERNAME', usernameVariable: 'GIT_USERNAME',
passwordVariable: 'GIT_PASSWORD' passwordVariable: 'GIT_PASSWORD'
)]) { )]) {
steps {
sh """ sh """
# Git 설정 # Git 설정
git config --global user.name "Jenkins" git config --global user.name "Jenkins"