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

Commit 28de5d1

Browse files
committed
Build: Fix docker image build assets path
1 parent b76bced commit 28de5d1

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
@@ -15,7 +15,7 @@ def buildAndPublishDockerImage(nextReleaseNumber = "") {
1515
nextReleaseNumber = sh (script: "kd get-next-release-number .", returnStdout: true).trim().substring(1)
1616
}
1717
docker.withRegistry("", 'docker-token') {
18-
def customImage = docker.build("${env.DOCKER_ORGANIZATION}/${cfg.projectName}:${nextReleaseNumber}", "--pull --no-cache .")
18+
def customImage = docker.build("${env.DOCKER_ORGANIZATION}/${cfg.projectName}:${nextReleaseNumber}", "--pull --no-cache ${cfg.projectName.substring(3)}")
1919
customImage.push()
2020
if (nextReleaseNumber != "beta") {
2121
customImage.push('latest')

0 commit comments

Comments
 (0)