From 7590cd86125d63689f7dd2ff824e6756fb4f050f Mon Sep 17 00:00:00 2001 From: zaba505 Date: Wed, 12 Oct 2022 23:31:21 -0400 Subject: [PATCH] build(evrys): label image --- .goreleaser.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e610157..70bb61a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -12,6 +12,14 @@ dockers: - image_templates: - "ghcr.io/z5labs/evrys/evrys:{{ .Tag }}" - "ghcr.io/z5labs/evrys/evrys:latest" + build_flag_templates: + - "--pull" + - "--label=org.opencontainers.image.created={{.Date}}" + - "--label=org.opencontainers.image.title={{.ProjectName}}" + - "--label=org.opencontainers.image.revision={{.FullCommit}}" + - "--label=org.opencontainers.image.version={{.Version}}" + - "--label=org.opencontainers.image.source=\"https://github.com/z5labs/evrys\"" + - "--label=org.opencontainers.image.licenses=Apache-2.0" archives: - replacements: darwin: darwin