From 3e62ab40e3f4e774598eef4f648a4a23039846b8 Mon Sep 17 00:00:00 2001 From: Antoine Aflalo <197810+Belphemur@users.noreply.github.com> Date: Wed, 10 Sep 2025 09:06:19 -0400 Subject: [PATCH] fix(docker): add proper annotation for multi-arch --- .goreleaser.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 7ad932e..76b9e66 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -108,6 +108,13 @@ dockers_v2: tags: - "{{ .Version }}" - latest + annotations: + "org.opencontainers.image.description": "CBZOptimizer is a Go-based tool designed to optimize CBZ (Comic Book Zip) and CBR (Comic Book RAR) files by converting images to a specified format and quality. This tool is useful for reducing the size of comic book archives while maintaining acceptable image quality." + "org.opencontainers.image.created": "{{.Date}}" + "org.opencontainers.image.name": "{{.ProjectName}}" + "org.opencontainers.image.revision": "{{.FullCommit}}" + "org.opencontainers.image.version": "{{.Version}}" + "org.opencontainers.image.source": "{{.GitURL}}" labels: "org.opencontainers.image.created": "{{.Date}}" "org.opencontainers.image.name": "{{.ProjectName}}"