From 141cfadb93b70050a854a8a60c7bbfe99934e164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 22 Mar 2024 12:08:57 +0100 Subject: [PATCH] feat(ci): add release tag parameter for docker builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- _assets/ci/Jenkinsfile.docker | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/_assets/ci/Jenkinsfile.docker b/_assets/ci/Jenkinsfile.docker index bcbc1c94b..dc7cfaec2 100644 --- a/_assets/ci/Jenkinsfile.docker +++ b/_assets/ci/Jenkinsfile.docker @@ -15,6 +15,11 @@ pipeline { defaultValue: false, description: 'Enable to create build for release.', ) + string( + name: 'RELEASE_IMAGE_TAG', + description: 'Release Docker image tag.', + defaultValue: params.RELEASE_IMAGE_TAG ?: 'deploy-test', + ) } options { @@ -41,8 +46,6 @@ pipeline { /* Makefile parameters */ DOCKER_IMAGE_NAME = 'statusteam/status-go' DOCKER_IMAGE_CUSTOM_TAG = "ci-build-${utils.gitCommit()}" - /* Release docker image settings. */ - RELEASE_IMAGE_TAG = "deploy-test" } stages {