Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add additional properties for ArtifactHub #2858

Merged
merged 1 commit into from Jan 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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