blob: 8db2c9c74b9953d0505481b8c84ee1b46ef4b2a8 [file] [log] [blame]
lj1412691b0ab2017-02-18 23:45:12 +00001#!/bin/bash
2# Create a debian package and push to remote repo
3#
4#
5# build the docker image. tag and then push to the remote repo
6#
7
8# !!! make sure the yaml file include docker-login as a builder before calling
9# this script
10
11IMAGE="dcae_dmaapbc"
12TAG="1.0.0"
13LFQI="${IMAGE}:${TAG}"
14BUILD_PATH="${WORKSPACE}"
15
16# build a docker image
17docker build --rm -f ${WORKSPACE}/Dockerfile -t ${LFQI} ${BUILD_PATH}
18
19