Skip to content

Commit f9e15a4

Browse files
author
Jamie Curnow
committed
Fix docker push for branches containing slashes
1 parent 447cf12 commit f9e15a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pipeline {
1414
COMPOSE_FILE = 'docker/docker-compose.ci.yml'
1515
COMPOSE_INTERACTIVE_NO_CLI = 1
1616
BUILDX_NAME = "${COMPOSE_PROJECT_NAME}"
17-
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase()}"
17+
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-')}"
1818
}
1919
stages {
2020
stage('Environment') {

0 commit comments

Comments
 (0)