Sign inSign up

picharv/goreleaser-gitlabci

By picharv

•Updated over 5 years ago

This repository aims to have a flexible image to build goreleaser things with GitLab CI

Image
0

1.3K

picharv/goreleaser-gitlabci repository overview

⁠goreleaser-gitlabci

This repository aims to have a flexible Docker image to build goreleaser things with GitLab CI

⁠Build Image

$ docker build -f Dockerfile -t picharv/goreleaser-gitlabci:latest --build-arg GORELEASER_TAG=v0.131.1 --build-arg GO_VERSION=1.14 .

⁠Run example

docker run --rm --privileged \
  -v $PWD:/go/src/github.com/user/repo \
  -v $PWD/entrypoint.sh:/entrypoint.sh \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -w /go/src/github.com/user/repo \
  -e GITHUB_TOKEN \
  picharv/goreleaser-gitlabci:latest release

Tag summary

Content type

Image

Digest

Size

163.3 MB

Last updated

over 5 years ago

docker pull picharv/goreleaser-gitlabci