diff options
Diffstat (limited to 'jjb/dcae/script-dmaapbc-verify.sh')
-rwxr-xr-x | jjb/dcae/script-dmaapbc-verify.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/jjb/dcae/script-dmaapbc-verify.sh b/jjb/dcae/script-dmaapbc-verify.sh new file mode 100755 index 000000000..8db2c9c74 --- /dev/null +++ b/jjb/dcae/script-dmaapbc-verify.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# Create a debian package and push to remote repo +# +# +# build the docker image. tag and then push to the remote repo +# + +# !!! make sure the yaml file include docker-login as a builder before calling +# this script + +IMAGE="dcae_dmaapbc" +TAG="1.0.0" +LFQI="${IMAGE}:${TAG}" +BUILD_PATH="${WORKSPACE}" + +# build a docker image +docker build --rm -f ${WORKSPACE}/Dockerfile -t ${LFQI} ${BUILD_PATH} + + |