- Cmake link
- docker
- go
make clean
will clean the binaries generated
make generate-dockerfile APP_NAME=hello_world
will print the generated dockerfile with a comment on top of the current timestamp, and generate a Dockerfile as well. APP_NAME
make test
will build and run the docker image and test if it outputs "Hello World".
main-workflow
will be invoked on push to master, which will perform a
make generate-dockerfile APP_NAME=hello_world
make test
- Build, and push the image to
ghcr.io
. The image will be tagged using the branchname and shorthash - The pushed image can be dowloaded from here
- The
template_generator.go
is the go program that will use the dockerfile template located at link and generate a Dockerfile with the timestamp as a comment on the top.