diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-03-21 13:03:59 -0700 |
---|---|---|
committer | Jeremy Phelps <jphelps@linuxfoundation.org> | 2018-04-03 07:55:13 -0500 |
commit | d9c235cfa95733b36a0edf525a9c9ccc9429a818 (patch) | |
tree | 489bb00196d01f6b608795544f583afac4f588ec /shell/docker-push.sh | |
parent | 02611ea91bd1bdc993e261b75b2426449a9e031d (diff) |
Add global docker jobs
Add global build and push jobs for docker images
Set proper docker tag convention for snapshot and staging
binaries.
Change-Id: I0e805b5c9eebac6aaea627d855d7b542158b6a0f
Issue-ID: CIMAN-132
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Diffstat (limited to 'shell/docker-push.sh')
-rw-r--r-- | shell/docker-push.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/docker-push.sh b/shell/docker-push.sh new file mode 100644 index 000000000..68b2bdb95 --- /dev/null +++ b/shell/docker-push.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Ensure we fail the job if any steps fail +set -e -o pipefail + +# Push our image to wherever it's defined to go by the name +docker push "$DOCKER_IMAGE" |