Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
gitlab ci buildstep
git submodule update --init
ls -la
ID=dumpapp-$(date +"%Y%m%d%H%M%S")
echo "Start building image..." $ID
docker build -t$ID .
echo "Push image..."
docker push$ID
echo "Deploy image..."
docker -H tcp:// run -Pd$ID
CID=$(docker -H tcp:// ps -l -q)
docker -H tcp:// inspect $CID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment