2021-07-14 21:24:52 +07:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-07-14 21:36:39 +07:00
|
|
|
SCRIPT_DIR=`dirname $0`
|
2021-07-14 21:24:52 +07:00
|
|
|
C_ORG=cubetiq
|
|
|
|
C_IMG=calpine-openjdk
|
|
|
|
C_TAG=11
|
|
|
|
C_ROOT=${C_ORG}/${C_IMG}:${C_TAG}
|
|
|
|
|
|
|
|
echo "Starting build for OpenJDK: ${C_ROOT}"
|
2021-07-14 21:36:39 +07:00
|
|
|
docker build -f $SCRIPT_DIR/Dockerfile . -t ${C_ROOT}
|
2021-07-14 21:24:52 +07:00
|
|
|
|
|
|
|
echo "Publishing to DockerHub with ${C_ROOT}"
|
|
|
|
docker push ${C_ROOT}
|