Skip to content

Commit

Permalink
feat: add additional properties for ArtifactHub
Browse files Browse the repository at this point in the history
  • Loading branch information
Engin Diri committed Jan 30, 2022
1 parent 8fc93a1 commit 0c04f16
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .goreleaser.yaml
@@ -1,7 +1,5 @@
env:
- GO111MODULE=on
- DESCRIPTION="Deliver Go binaries as fast and easily as possible"
- README_URL="https://raw.githubusercontent.com/goreleaser/goreleaser/main/README.md"

before:
hooks:
Expand Down Expand Up @@ -71,8 +69,11 @@ dockers:
use: buildx
build_flag_templates:
- "--pull"
- "--label=io.artifacthub.package.readme-url={{.Env.README_URL}}"
- "--label=org.opencontainers.image.description={{.Env.DESCRIPTION}}"
- "--label=io.artifacthub.package.readme-url=https://raw.githubusercontent.com/goreleaser/goreleaser/main/README.md"
- "--label=io.artifacthub.package.logo-url=https://goreleaser.com/static/avatar.png"
- "--label=io.artifacthub.package.maintainers=[{\"name\":\"Carlos Alexandro Becker\",\"email\":\"carlos@carlosbecker.dev\"}]"
- "--label=io.artifacthub.package.license=MIT"
- "--label=org.opencontainers.image.description=Deliver Go binaries as fast and easily as possible"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
Expand All @@ -88,8 +89,11 @@ dockers:
use: buildx
build_flag_templates:
- "--pull"
- "--label=io.artifacthub.package.readme-url={{.Env.README_URL}}"
- "--label=org.opencontainers.image.description={{.Env.DESCRIPTION}}"
- "--label=io.artifacthub.package.readme-url=https://raw.githubusercontent.com/goreleaser/goreleaser/main/README.md"
- "--label=io.artifacthub.package.logo-url=https://goreleaser.com/static/avatar.png"
- "--label=io.artifacthub.package.maintainers=[{\"name\":\"Carlos Alexandro Becker\",\"email\":\"carlos@carlosbecker.dev\"}]"
- "--label=io.artifacthub.package.license=MIT"
- "--label=org.opencontainers.image.description=Deliver Go binaries as fast and easily as possible"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
Expand Down

0 comments on commit 0c04f16

Please sign in to comment.