Fix Docker image name references in build and push stages

This commit is contained in:
2025-06-04 11:22:46 +02:00
parent 3ccafcf0bb
commit 8177a0001f

4
Jenkinsfile vendored
View File

@@ -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"
)