blob: ca5e95aba4097f4fa953d2ded97d44beaa2fd103 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
#
echo '============== CALLING SCRIPT TO CREATE DOCKER IMAGES ================='
cp $WORKSPACE/docker/* .
docker -D build -t onap/testsuite .
export REPO="nexus3.onap.org:10003"
DATETIME_STAMP=$(date +%Y%m%dT%H%M%S)
STAGING_TAG=${base_version}-STAGING-${DATETIME_STAMP}Z
for tag in $tags $STAGING_TAG
do
docker tag onap/testsuite:latest $REPO/onap/testsuite:$tag
docker push $REPO/onap/testsuite:$tag
done
|