build and push docker images to local repository
$ ./gradlew clean build jibDockerBuild
build and push docker images to remote repository
$ ./gradlew clean build jib
Install gcloud cli
to upload images. GCloud credentials will be mounted into the container
$ gcloud auth login
Run Container
$ docker-compose up
The .env
file contains the gcloud repository and bucket name and is used by the gradle build and docker.