feat(ci): add release tag parameter for docker builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
296b44f9ab
commit
141cfadb93
|
@ -15,6 +15,11 @@ pipeline {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
description: 'Enable to create build for release.',
|
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 {
|
options {
|
||||||
|
@ -41,8 +46,6 @@ pipeline {
|
||||||
/* Makefile parameters */
|
/* Makefile parameters */
|
||||||
DOCKER_IMAGE_NAME = 'statusteam/status-go'
|
DOCKER_IMAGE_NAME = 'statusteam/status-go'
|
||||||
DOCKER_IMAGE_CUSTOM_TAG = "ci-build-${utils.gitCommit()}"
|
DOCKER_IMAGE_CUSTOM_TAG = "ci-build-${utils.gitCommit()}"
|
||||||
/* Release docker image settings. */
|
|
||||||
RELEASE_IMAGE_TAG = "deploy-test"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
Loading…
Reference in New Issue