Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 6eefd6b

Browse files
authored
Do not rebuild image for publish. (#98)
1 parent 8ea2219 commit 6eefd6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/travis/publish.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fi
2626

2727
if [[ ! -z ${RUNTIME} ]]; then
2828
TERM=dumb ./gradlew \
29-
:${RUNTIME}:distDocker \
29+
:${RUNTIME}:pushImage \
3030
-PdockerRegistry=docker.io \
3131
-PdockerImagePrefix=${IMAGE_PREFIX} \
3232
-PdockerImageTag=${IMAGE_TAG}
@@ -35,7 +35,7 @@ TERM=dumb ./gradlew \
3535
if [ ${IMAGE_TAG} == "master" ]; then
3636
SHORT_COMMIT=`git rev-parse --short HEAD`
3737
TERM=dumb ./gradlew \
38-
:${RUNTIME}:distDocker \
38+
:${RUNTIME}:pushImage \
3939
-PdockerRegistry=docker.io \
4040
-PdockerImagePrefix=${IMAGE_PREFIX} \
4141
-PdockerImageTag=${SHORT_COMMIT}

0 commit comments

Comments
 (0)