refactor: deployment
This commit is contained in:
parent
93ddac2c7d
commit
1e9874461c
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user