From b15d8d5584c3f1cc1b3d127c522d14afeb639d4f Mon Sep 17 00:00:00 2001 From: skidoodle Date: Tue, 21 Apr 2026 06:37:19 +0200 Subject: [PATCH] fix release process --- .slsa-goreleaser.yaml | 4 ++++ Dockerfile.release | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.slsa-goreleaser.yaml b/.slsa-goreleaser.yaml index 12eb3ab..70be5f9 100644 --- a/.slsa-goreleaser.yaml +++ b/.slsa-goreleaser.yaml @@ -33,6 +33,7 @@ checksum: dockers: - id: pastebin-amd64 + ids: [pastebin] image_templates: - "ghcr.io/skidoodle/pastebin:{{ .Version }}-amd64" dockerfile: Dockerfile.release @@ -47,8 +48,10 @@ dockers: - "--label=org.opencontainers.image.source={{.GitURL}}" extra_files: - view + skip_push: false - id: pastebin-arm64 + ids: [pastebin] image_templates: - "ghcr.io/skidoodle/pastebin:{{ .Version }}-arm64" dockerfile: Dockerfile.release @@ -63,6 +66,7 @@ dockers: - "--label=org.opencontainers.image.source={{.GitURL}}" extra_files: - view + skip_push: false docker_manifests: - name_template: "ghcr.io/skidoodle/pastebin:latest" diff --git a/Dockerfile.release b/Dockerfile.release index 42f5d47..9efb7df 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -1,4 +1,8 @@ +FROM alpine:latest as certs +RUN apk --no-cache add ca-certificates + FROM scratch +COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY pastebin /pastebin COPY view /view EXPOSE 3000