From 05439d5d267d62d15199ae1fbeeeec9dc34145c6 Mon Sep 17 00:00:00 2001 From: gfanton <8671905+gfanton@users.noreply.github.com> Date: Mon, 17 Jun 2024 15:05:09 +0200 Subject: [PATCH] fix: add extra script dir to goreleaser Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com> --- .github/goreleaser.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/goreleaser.yaml b/.github/goreleaser.yaml index 4f337e8..43ce2fa 100644 --- a/.github/goreleaser.yaml +++ b/.github/goreleaser.yaml @@ -59,6 +59,8 @@ dockers: - "--label=org.opencontainers.image.title={{.ProjectName}}" - "--label=org.opencontainers.image.revision={{.FullCommit}}" - "--label=org.opencontainers.image.version={{.Version}}" + extra_files: + - scripts - use: buildx dockerfile: Dockerfile.release goos: linux @@ -72,6 +74,8 @@ dockers: - "--label=org.opencontainers.image.title={{.ProjectName}}" - "--label=org.opencontainers.image.revision={{.FullCommit}}" - "--label=org.opencontainers.image.version={{.Version}}" + extra_files: + - scripts - use: buildx dockerfile: Dockerfile.release goos: linux @@ -86,6 +90,8 @@ dockers: - "--label=org.opencontainers.image.title={{.ProjectName}}" - "--label=org.opencontainers.image.revision={{.FullCommit}}" - "--label=org.opencontainers.image.version={{.Version}}" + extra_files: + - scripts - use: buildx dockerfile: Dockerfile.release goos: linux @@ -100,6 +106,9 @@ dockers: - "--label=org.opencontainers.image.title={{.ProjectName}}" - "--label=org.opencontainers.image.revision={{.FullCommit}}" - "--label=org.opencontainers.image.version={{.Version}}" + extra_files: + - scripts + docker_manifests: # https://goreleaser.com/customization/docker_manifest/ - name_template: ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}