Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move publish logic into .travis.yml
Browse files Browse the repository at this point in the history
jonpspri committed Mar 31, 2018
1 parent 7fc345f commit a13daa2
Showing 2 changed files with 16 additions and 52 deletions.
18 changes: 16 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -52,13 +52,27 @@ before_deploy:
- "./tools/travis/rename_sdk.sh ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"

deploy:
# Git Tags are in the form "dockertag@imagename"
- provider: script
script: "./tools/travis/publish.sh openwhisk ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"
skip_cleanup: true
script:
./gradlew --console=plain :core:actionProxy:putManifestList
-PdockerImagePrefix=openwhisk
-PdockerImageTag=${TRAVIS_TAG%@*}
on:
tags: true
all_branches: true
condition: "${TRAVIS_TAG%@*} = dockerskeleton || ${TRAVIS_TAG%@*} = example"
condition: "${TRAVIS_TAG%@*} = dockerskeleton"
- provider: script
skip_cleanup: true
script:
./gradlew --console=plain :sdk:docker:putManifestList
-PdockerImagePrefix=openwhisk
-PdockerImageTag=${TRAVIS_TAG%@*}
on:
tags: true
all_branches: true
condition: "${TRAVIS_TAG%@*} = example"
- provider: releases
api_key:
secure: R+7PrIf0bLqcQJ9XRQX1Arnund9p0CRdn4TQbvK2kz0h69y233FS7JVa+U6mEptzUErLa90PrONDfB/iNC1YLn/pIfGsM2l34CTC0OQPgHRuY6uBg48jM7rRAM3nUHseFHF2o9Hh0zXZRI4lj+nYe1LTR0Xsn50AGtPAeIEHItv4ojGzujgeBZsjBjCSLbEGxRjP8XqAgs/PA4QrmcSXlP4fEwidEOp3wqAaTIpHRksu7nv3j8H3IpWG6M3hAYn0LJcLi5pF4jwsq85H/+BGRp0ZbVW7uZtpl/bI5T0DkmPXEI4ywcwb3w8CCFs9WMNwB9zMs5j3MFX2dzzPNLJ5ostuEY6Vwzz0tdaqEoAB7n2kLd0akKX/WJiu7Jh35Ul3tYhLpNIWmO6bjaYY7fEdtXX1WLBVIlJIEd+wfDd3a85sIFTQj1YT9os1iS4B3vc9tpbw5D51qzqSRNtoAfV3tablp5obddhKe8iLeSB41lY4Qm+K41IgwxWKiRiNXDFkOPaa3MgAanGzzouQYrbShw+k7oCg8yJqX1NH4vP1H1CAa8OCAdw4aa06xHUk9kNQfIeOl4n9pBRL5dS4VGccCKulWf6ZRo3ypmP7sJL/vbrAs/lZJNteImrm0MtCPJq/5H5eOrQ5A/Kd1hkK7kquXYsXATgVFkasHqWUH6lKurE=
50 changes: 0 additions & 50 deletions tools/travis/publish.sh

This file was deleted.

0 comments on commit a13daa2

Please sign in to comment.