highcharts-export-server-do.../scripts/build.sh

12 lines
287 B
Bash
Raw Normal View History

#!/bin/bash
TAG=latest
REGISTRY=registry.kh.cubetiqs.com
IMAGE=highcharts-export-server
CONTAINER=${REGISTRY}/${IMAGE}:${TAG}
2021-03-06 21:35:25 +07:00
echo "Building container image with ${CONTAINER}"
docker build -t ${CONTAINER} .
2021-03-06 21:35:25 +07:00
echo "Publishing the container image to ${REGISTRY}"
docker push ${CONTAINER}