chore: Added support for building and publishing `epinio/epinio-unpacker` image via `goreleaser`
this is a supplemental to the manually triggered `build-publish-unpacker-image` pipeline
(see `.github/workflows/unpacker-image.yml`)
@@ -52,6 +52,29 @@ snapshot:
name_template: "{{ .Tag }}-next"
dockers:
+ -
+ use: buildx
+ goos: linux
+ goarch: amd64
+ image_templates:
+ - "ghcr.io/epinio/epinio-unpacker:{{ .Tag }}-amd64"
+
+ # Skips the docker push.
+ #skip_push: "true"
+
+ # Path to the Dockerfile (from the project root).
+ dockerfile: images/unpacker-Dockerfile
+
+ # Template of the docker build flags.
+ 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/epinio/epinio"
+ - "--platform=linux/amd64"
+
-
use: buildx
