From c57c8aabc4508a84e7a795ba659b65155e575efc Mon Sep 17 00:00:00 2001 From: Anton Iakimov Date: Thu, 11 Apr 2024 10:59:37 +0200 Subject: [PATCH] ci: fix build --- _assets/ci/Jenkinsfile.docker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_assets/ci/Jenkinsfile.docker b/_assets/ci/Jenkinsfile.docker index f216eb303..57ced8c84 100644 --- a/_assets/ci/Jenkinsfile.docker +++ b/_assets/ci/Jenkinsfile.docker @@ -45,7 +45,7 @@ pipeline { PATH = "/usr/local/go/bin:${env.PATH}:${env.GOPATH}/bin" /* Makefile parameters */ DOCKER_IMAGE_NAME = 'statusteam/status-go' - DOCKER_IMAGE_CUSTOM_TAG = "ci-build-${utils.gitCommit()}" + DOCKER_IMAGE_CUSTOM_TAG = "ci-build-${git.commit()}" } stages { @@ -60,7 +60,7 @@ pipeline { stage('Push') { steps { dir(env.REPO) { script { withDockerRegistry([credentialsId: "dockerhub-statusteam-auto", url: ""]) { - image.push("v${utils.getVersion()}-${utils.gitCommit()}") + image.push("v${utils.getVersion()}-${git.commit()}") } } } } }