NoIssue: Support for building runable docker container
This commit is contained in:
18
src/main/docker/publish_template
Normal file
18
src/main/docker/publish_template
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
NAME=nenjimhub
|
||||
VERSION=_VERSION__amd64
|
||||
|
||||
VTAG=dockerreg.r35157.com/r35157/${NAME}:${VERSION}
|
||||
LTAG=dockerreg.r35157.com/r35157/${NAME}:latest
|
||||
|
||||
docker tag r35157/${NAME}:${VERSION} ${VTAG}
|
||||
docker tag r35157/${NAME}:${VERSION} ${LTAG}
|
||||
|
||||
echo "Publishing of '${VTAG}' and '${LTAG}'..."
|
||||
docker push ${VTAG}
|
||||
docker push ${LTAG}
|
||||
|
||||
echo "Publishing completed!"
|
||||
Reference in New Issue
Block a user