X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fdocker-push.sh;fp=shell%2Fdocker-push.sh;h=83996fab6404a2210e08cfc48a1bf3aba8461e61;hb=8f00e059ea64956604ea2d23ebe46e4fda788cdf;hp=0000000000000000000000000000000000000000;hpb=c36acacf22c4e6708ae6bb13b74fec2d09e3dbf4;p=releng%2Fglobal-jjb.git diff --git a/shell/docker-push.sh b/shell/docker-push.sh new file mode 100644 index 00000000..83996fab --- /dev/null +++ b/shell/docker-push.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2018 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## +echo "---> docker-push.sh" +# Docker image push script + +# Ensure we fail the job if any steps fail +set -ue -o pipefail + +docker push "$CONTAINER_PUSH_REGISTRY/$DOCKER_IMAGE"