Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit b3d92af

Browse files
committed
Fix: Use the right directory name for the image build
1 parent 7e1333c commit b3d92af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def publishDockerImage(nextReleaseNumber = "") {
1010
nextReleaseNumber = sh (script: "kd get-next-release-number .", returnStdout: true).trim().substring(1)
1111
}
1212
docker.withRegistry("https://registry.hub.docker.com", 'teeckebot-docker-credentials') {
13-
def customImage = docker.build("teecke/${cfg.projectName}:${nextReleaseNumber}", "--pull --no-cache ${cfg.projectName}")
13+
def customImage = docker.build("teecke/${cfg.projectName}:${nextReleaseNumber}", "--pull --no-cache ${cfg.projectName.substring(3)}")
1414
customImage.push()
1515
if (nextReleaseNumber != "beta") {
1616
customImage.push('latest')

0 commit comments

Comments
 (0)