File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,20 +89,20 @@ jobs:
89
89
- name : " Publish to Docker hub"
90
90
stage : deploy
91
91
jdk : openjdk8
92
- if : ( branch = trellis-0.9.x OR branch = ~ /^trellis-\d+\.\d+\.\d+$/) AND type = push
92
+ if : branch =~ /^trellis-\d+\.\d+\.\d+$/ AND type = push
93
93
env : JOB=docker
94
94
before_script : echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
95
95
# Note: for maintenance branches, remove the dockerPushDevelop task
96
96
script :
97
- - if [[ $( ./gradlew -q getVersion) == *SNAPSHOT* ]]; then ./gradlew dockerPush; else ./gradlew dockerPush dockerPushLatest; fi
97
+ - ./gradlew dockerPush dockerPushLatest
98
98
- ./buildtools/src/main/resources/docker/publishToDockerHub.sh
99
99
100
100
# deploy to AWS
101
101
- name : " Publish JavaDocs"
102
102
stage : deploy
103
103
jdk : openjdk8
104
104
env : JOB=aws
105
- if : ( branch = trellis-0.9.x OR branch = ~ /^trellis-\d+\.\d+\.\d+$/) AND type = push
105
+ if : branch =~ /^trellis-\d+\.\d+\.\d+$/ AND type = push
106
106
script : ./gradlew apidocs
107
107
deploy :
108
108
provider : s3
You can’t perform that action at this time.
0 commit comments