If you find this useful, you can support me on Ko-Fi (Donations are always appreciated, but never required):
You can find more information about this project/repository and how to use it in following blog posts:
martinheinz/go-project-blueprint
with your username repository nameblueprint
with your desired image namego mod vendor
Create and Push:
docker login docker.pkg.github.com -u <USERNAME> -p <GITHUB_TOKEN>
docker build -t docker.pkg.github.com/martinheinz/go-project-blueprint/blueprint:latest .
# make container
docker push docker.pkg.github.com/martinheinz/go-project-blueprint/blueprint:latest
# make push
Pull and Run:
docker pull docker.pkg.github.com/martinheinz/go-project-blueprint/blueprint:latest
docker run docker.pkg.github.com/martinheinz/go-project-blueprint/blueprint:latest
travis encrypt --com <TOKEN_YOU_COPPIED>
secure
Field in .travis.yml
with outputted stringsonar-project.properties
DOCKER_USERNAME
DOCKER_PASSWORD
to Your GitHub Registry TokenCC_TEST_REPORTER_ID
, value: Copied from CodeClimate