We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb0f4bf commit 447cf12Copy full SHA for 447cf12
Jenkinsfile
@@ -15,9 +15,6 @@ pipeline {
15
COMPOSE_INTERACTIVE_NO_CLI = 1
16
BUILDX_NAME = "${COMPOSE_PROJECT_NAME}"
17
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase()}"
18
-
19
- // Defaults to the Branch name, which is applies to all branches AND pr's
20
- BUILDX_PUSH_TAGS = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
21
}
22
stages {
23
stage('Environment') {
@@ -32,6 +29,19 @@ pipeline {
32
29
33
30
34
31
+ stage('Other') {
+ when {
+ not {
35
+ branch 'master'
36
+ }
37
38
+ steps {
39
+ script {
40
+ // Defaults to the Branch name, which is applies to all branches AND pr's
41
+ env.BUILDX_PUSH_TAGS = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
42
43
44
45
46
47
stage('Frontend') {
0 commit comments