Skip to content

Commit 5fb9504

Browse files
committed
fix(goreleaser): take build arg for copying binary in dockerfile
1 parent f58f154 commit 5fb9504

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.goreleaser.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ dockers_v2:
126126
- meysam81/{{ .ProjectName }}
127127
- ghcr.io/meysam81/{{ .ProjectName }}
128128
dockerfile: Dockerfile.goreleaser
129-
extra_files:
130-
- ./
131129
tags:
132130
- "{{ if not .IsSnapshot }}v{{ .Version }}{{ end }}"
133131
- "{{ if not .IsSnapshot }}v{{ .Major }}{{ end }}"

Dockerfile.goreleaser

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# syntax=docker/dockerfile:1
22
FROM gcr.io/distroless/static-debian12:nonroot
3+
ARG TARGETPLATFORM
34

45
VOLUME /data
56
ENV PARSE_DMARC_CONFIG=/app/config.json \

0 commit comments

Comments
 (0)