From d1da2fafb26d57173c1bc9cbc8fae19527480da7 Mon Sep 17 00:00:00 2001 From: yair Date: Tue, 2 Jan 2024 21:07:51 +0200 Subject: [PATCH] testing amd bin --- .goreleaser.yaml | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index da71a6e..5fee10f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -27,6 +27,7 @@ dockers: - "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Version }}-amd64" use: buildx dockerfile: Dockerfile + goarch: amd64 build_flag_templates: - "--label=org.opencontainers.image.created={{.Date}}" - "--label=org.opencontainers.image.title={{.ProjectName}}" diff --git a/Dockerfile b/Dockerfile index 3391bf8..f2e379a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM gcr.io/distroless/static-debian11 +FROM alpine COPY assets/ /assets