blob: e78bdf9b7c54200633675adcc458158b4a371426 [file] [log] [blame]
#!/bin/bash
# Builds and uploads a container that proxies web traffic while enforcing IAP.
set -x -e
APPNAME=continuous-deploy
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="install -D --verbose"
${INSTALL} --mode=644 -T ${APPNAME}/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME}
${INSTALL} --mode=755 -T ${GOPATH}/bin/pushk ${ROOT}/usr/local/bin/pushk
}
source ../bash/docker_build.sh