mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 03:07:40 +02:00
fix release process
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user