Fix Docker image name references in build and push stages
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -57,7 +57,7 @@ pipeline {
|
||||
stage('Build Docker Image') {
|
||||
steps {
|
||||
dockerBuild(
|
||||
imageName: "${IMAGE_TAG}",
|
||||
imageName: "${IMAGE_NAME}:${params.BUILD_ID}",
|
||||
dockerfile: "deployments/docker/Dockerfile",
|
||||
context: "deployments/docker"
|
||||
)
|
||||
@@ -67,7 +67,7 @@ pipeline {
|
||||
stage('Push Docker Image') {
|
||||
steps {
|
||||
dockerPush(
|
||||
imageName: "${IMAGE_TAG}",
|
||||
imageName: "${IMAGE_NAME}:${params.BUILD_ID}",
|
||||
registry: "${DOCKER_REGISTRY}",
|
||||
credentialsId: "postio-bot-gitea"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user