Skip to content
Permalink
Browse files

fix: docker: added labels

  • Loading branch information...
caarlos0 committed Nov 27, 2018
1 parent 5449d5c commit aec15be52c5ef1ad4116127d1b9048f7a9270ab2
Showing with 8 additions and 0 deletions.
  1. +8 −0 .goreleaser.yml
@@ -30,6 +30,10 @@ dockers:
- 'goreleaser/goreleaser:latest-cgo'
dockerfile: Dockerfile.cgo
binary: goreleaser
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
extra_files:
- scripts/entrypoint.sh
- image_templates:
@@ -38,6 +42,10 @@ dockers:
- 'goreleaser/goreleaser:latest'
dockerfile: Dockerfile
binary: goreleaser
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
extra_files:
- scripts/entrypoint.sh
archive:

0 comments on commit aec15be

Please sign in to comment.
You can’t perform that action at this time.