fix release process

This commit is contained in:
2026-04-21 06:37:19 +02:00
parent 4f297f4f6c
commit b15d8d5584
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -33,6 +33,7 @@ checksum:
dockers: dockers:
- id: pastebin-amd64 - id: pastebin-amd64
ids: [pastebin]
image_templates: image_templates:
- "ghcr.io/skidoodle/pastebin:{{ .Version }}-amd64" - "ghcr.io/skidoodle/pastebin:{{ .Version }}-amd64"
dockerfile: Dockerfile.release dockerfile: Dockerfile.release
@@ -47,8 +48,10 @@ dockers:
- "--label=org.opencontainers.image.source={{.GitURL}}" - "--label=org.opencontainers.image.source={{.GitURL}}"
extra_files: extra_files:
- view - view
skip_push: false
- id: pastebin-arm64 - id: pastebin-arm64
ids: [pastebin]
image_templates: image_templates:
- "ghcr.io/skidoodle/pastebin:{{ .Version }}-arm64" - "ghcr.io/skidoodle/pastebin:{{ .Version }}-arm64"
dockerfile: Dockerfile.release dockerfile: Dockerfile.release
@@ -63,6 +66,7 @@ dockers:
- "--label=org.opencontainers.image.source={{.GitURL}}" - "--label=org.opencontainers.image.source={{.GitURL}}"
extra_files: extra_files:
- view - view
skip_push: false
docker_manifests: docker_manifests:
- name_template: "ghcr.io/skidoodle/pastebin:latest" - name_template: "ghcr.io/skidoodle/pastebin:latest"
+4
View File
@@ -1,4 +1,8 @@
FROM alpine:latest as certs
RUN apk --no-cache add ca-certificates
FROM scratch FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY pastebin /pastebin COPY pastebin /pastebin
COPY view /view COPY view /view
EXPOSE 3000 EXPOSE 3000