Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 312 Bytes

readme.md

File metadata and controls

25 lines (16 loc) · 312 Bytes

github/go cicd template

  • goreleaser and docker sandbox

Notes

Version build:

go build -ldflags="-X main.Version=42"

Docker build:

# default version
docker build . -t gh-cicd

# given version
docker build . -t gh-cicd --build-arg="APP_VERSION=666"

# test
docker run --rm -it gh-cicd