Skip to content

Commit 51658e4

Browse files
dgrove-ossrabbah
authored andcommitted
change travis to use nightly tag for dockerhub (#12)
1 parent a92b122 commit 51658e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ deploy:
2525
repo: apache/incubator-openwhisk-runtime-rust
2626
- provider: script
2727
skip_cleanup: true
28-
script: "./tools/travis/publish.sh openwhisk rust1.34 latest"
28+
script: "./tools/travis/publish.sh openwhisk rust1.34 nightly"
2929
on:
3030
branch: master
3131
repo: apache/incubator-openwhisk-runtime-rust

tools/travis/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ TERM=dumb ./gradlew \
3535
-PdockerImagePrefix=${IMAGE_PREFIX} \
3636
-PdockerImageTag=${IMAGE_TAG}
3737

38-
# if doing latest also push a tag with the hash commit
39-
if [ ${IMAGE_TAG} == "latest" ]; then
38+
# if doing nightly also push a tag with the hash commit
39+
if [ ${IMAGE_TAG} == "nightly" ]; then
4040
SHORT_COMMIT=`git rev-parse --short HEAD`
4141
TERM=dumb ./gradlew \
4242
:${RUNTIME}:distDocker \

0 commit comments

Comments
 (0)