make init
make dev
make build
export PROJECT_ID=vfarcic
export VERSION=5.1.0
export IMAGE_DH=vfarcic/devops-toolkit-series
export IMAGE_GCR=gcr.io/$PROJECT_ID/devops-toolkit-series
docker image build -t $IMAGE_DH .
docker image tag $IMAGE_DH $IMAGE_DH:$VERSION
docker image tag $IMAGE_DH $IMAGE_GCR:$VERSION
docker login
docker image push $IMAGE_DH
docker image push $IMAGE_DH:$VERSION
gcloud auth configure-docker
docker image push $IMAGE_GCR:$VERSION
gcloud run deploy \
devops-toolkit-series \
--image $IMAGE_GCR:$VERSION \
--region us-east1 \
--allow-unauthenticated \
--port 80 \
--concurrency 100 \
--platform managed \
--project $PROJECT_ID