feat(ci): add release tag parameter for docker builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-03-22 12:08:57 +01:00
parent 296b44f9ab
commit 141cfadb93
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 5 additions and 2 deletions

View File

@ -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 {