From 2cc765973798b1574e9be1daabc7eee15867b345 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Fri, 1 Sep 2023 22:01:23 +0200 Subject: [PATCH] fix: correctly use dockerfile with goreleaser --- .goreleaser.yaml | 1 + release/Dockerfile | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 release/Dockerfile diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 12efc96..2756b8c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -41,6 +41,7 @@ dockers: - "forge.babariviere.com/babariviere/ntfy-bridge:v{{ .Major }}" - "forge.babariviere.com/babariviere/ntfy-bridge:v{{ .Major }}.{{ .Minor }}" - "forge.babariviere.com/babariviere/ntfy-bridge:latest" + dockerfile: release/Dockerfile gitea_urls: api: https://forge.babariviere.com/api/v1 diff --git a/release/Dockerfile b/release/Dockerfile new file mode 100644 index 0000000..0bb2d78 --- /dev/null +++ b/release/Dockerfile @@ -0,0 +1,4 @@ +FROM scratch +WORKDIR /app +COPY ntfy-bridge /app/ntfy-bridge +ENTRYPOINT ["/app/ntfy-bridge"]