From 8a40b6a5dddf6636f6db5d40192d2bab9f55ac45 Mon Sep 17 00:00:00 2001 From: Luke Powlett Date: Fri, 6 Dec 2019 14:23:17 +0000 Subject: [PATCH] Curl manifest tool --- manifests/dockerstore/manifest-9.1.4.yaml | 28 +++++++++++++++++++++++ travis-build-scripts/release.sh | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 manifests/dockerstore/manifest-9.1.4.yaml diff --git a/manifests/dockerstore/manifest-9.1.4.yaml b/manifests/dockerstore/manifest-9.1.4.yaml new file mode 100644 index 0000000..20777cb --- /dev/null +++ b/manifests/dockerstore/manifest-9.1.4.yaml @@ -0,0 +1,28 @@ +# © Copyright IBM Corporation 2019 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +image: ibmcorp/mqadvanced-server-dev:9.1.4.0-r1 +manifests: + - image: ibmcorp/mqadvanced-server-dev:9.1.4.0-r1-amd64 + platform: + architecture: amd64 + os: linux + - image: ibmcorp/mqadvanced-server-dev:9.1.4.0-r1-ppc64le + platform: + architecture: ppc64le + os: linux + - image: ibmcorp/mqadvanced-server-dev:9.1.4.0-r1-s390x + platform: + architecture: s390x + os: linux diff --git a/travis-build-scripts/release.sh b/travis-build-scripts/release.sh index 1ed7ec1..49a567f 100755 --- a/travis-build-scripts/release.sh +++ b/travis-build-scripts/release.sh @@ -99,6 +99,9 @@ elif [ "$TYPE" = "production" ]; then ARCH=ppc64le make push-devserver-dockerhub ARCH=s390x make push-devserver-dockerhub + curl -LO https://github.com/estesp/manifest-tool/releases/download/v0.9.0/manifest-tool-linux-amd64 + chmod a+x manifest-tool-linux-amd64 + docker login --username $MQ_DOCKERHUB_REGISTRY_USER --password $MQ_DOCKERHUB_REGISTRY_CREDENTIAL ./manifest-tool-linux-amd64 push from-spec manifests/dockerhub/$MANIFEST_FILE ./manifest-tool-linux-amd64 push from-spec manifests/dockerhub/manifest-latest.yaml