Fix docker push for branches containing slashes

This commit is contained in:
Jamie Curnow 2020-02-19 15:46:52 +10:00
parent 447cf12629
commit f9e15a4470

2
Jenkinsfile vendored
View File

@ -14,7 +14,7 @@ pipeline {
COMPOSE_FILE = 'docker/docker-compose.ci.yml'
COMPOSE_INTERACTIVE_NO_CLI = 1
BUILDX_NAME = "${COMPOSE_PROJECT_NAME}"
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase()}"
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-')}"
}
stages {
stage('Environment') {