Skip to content
Snippets Groups Projects
Commit 8c6a408d authored by David Grove's avatar David Grove Committed by rodric rabbah
Browse files

change travis builds to publish docker images with tag 'nightly' (#66)

parent f228a477
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ deploy:
all_branches: true
repo: apache/incubator-openwhisk-runtime-python
- provider: script
script: "./tools/travis/publish.sh openwhisk 3 latest && ./tools/travis/publish.sh openwhisk 3-ai latest && ./tools/travis/publish.sh openwhisk 3-loop latest"
script: "./tools/travis/publish.sh openwhisk 3 nightly && ./tools/travis/publish.sh openwhisk 3-ai nightly && ./tools/travis/publish.sh openwhisk 3-loop nightly"
on:
branch: master
repo: apache/incubator-openwhisk-runtime-python
......
......@@ -16,7 +16,7 @@
#
# Dockerfile for python actions, overrides and extends ActionRunner from actionProxy
FROM openwhisk/dockerskeleton:latest
FROM openwhisk/dockerskeleton:nightly
RUN apk add --no-cache \
bzip2-dev \
......
......@@ -51,8 +51,8 @@ TERM=dumb ./gradlew \
-PdockerImagePrefix=${IMAGE_PREFIX} \
-PdockerImageTag=${IMAGE_TAG}
# if doing latest also push a tag with the hash commit
if [ ${IMAGE_TAG} == "latest" ]; then
# if doing nightly also push a tag with the hash commit
if [ ${IMAGE_TAG} == "nightly" ]; then
SHORT_COMMIT=`git rev-parse --short HEAD`
TERM=dumb ./gradlew \
:core:${RUNTIME}:distDocker \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment