Created
August 31, 2021 18:18
-
-
Save developer-guy/30b524339aff44a6c595047fe8a4c65a to your computer and use it in GitHub Desktop.
dockers section for GoReleaser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dockers: | |
- image_templates: [ "ghcr.io/developer-guy/kink:{{ .Tag }}" ] | |
dockerfile: Dockerfile.goreleaser | |
goos: linux | |
goarch: amd64 | |
build_flag_templates: | |
- --label=org.opencontainers.image.title={{ .ProjectName }} | |
- --label=org.opencontainers.image.description={{ .ProjectName }} | |
- --label=org.opencontainers.image.url=https://gitlab.com/goreleaser/example | |
- --label=org.opencontainers.image.source=https://gitlab.com/goreleaser/example | |
- --label=org.opencontainers.image.version={{ .Version }} | |
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} | |
- --label=org.opencontainers.image.revision={{ .FullCommit }} | |
- --label=org.opencontainers.image.licenses=MIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment