Skip to content

Commit

Permalink
fix: add extra script dir to goreleaser (#34)
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton authored Jun 17, 2024
1 parent 22c5fb9 commit c588f9f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit c588f9f

Please sign in to comment.