=====================================
To run the site locally:
> export APP_SECRET=12345678
> sbt run
Update version in build.sbt, then publish docker image locally:
> sbt docker:publishLocal
Optionally, you can run published local docker image (please replace APP_SECRET value):
docker container run --env APP_SECRET=<replace-secret-here> --publish 9000:9000 --detach --name scalatest-website.svc artima/scalatest-website
To tag and push built image to GitHub Package:
> ECR_IMAGE_VERSION=<replace_version_here>
> docker tag artima/scalatest-website:$ECR_IMAGE_VERSION ghcr.io/artimahub/scalatest-website:$ECR_IMAGE_VERSION
> docker tag artima/scalatest-website:latest ghcr.io/artimahub/scalatest-website:latest
> docker push ghcr.io/artimahub/scalatest-website:$ECR_IMAGE_VERSION
> docker push ghcr.io/artimahub/scalatest-website:latest