fix: correctly use dockerfile with goreleaser

This commit is contained in:
Bastien Riviere 2023-09-01 22:01:23 +02:00
parent 98563d75b5
commit 2cc7659737
Signed by: babariviere
GPG key ID: 4E5F0839249F162E
2 changed files with 5 additions and 0 deletions

View file

@ -41,6 +41,7 @@ dockers:
- "forge.babariviere.com/babariviere/ntfy-bridge:v{{ .Major }}" - "forge.babariviere.com/babariviere/ntfy-bridge:v{{ .Major }}"
- "forge.babariviere.com/babariviere/ntfy-bridge:v{{ .Major }}.{{ .Minor }}" - "forge.babariviere.com/babariviere/ntfy-bridge:v{{ .Major }}.{{ .Minor }}"
- "forge.babariviere.com/babariviere/ntfy-bridge:latest" - "forge.babariviere.com/babariviere/ntfy-bridge:latest"
dockerfile: release/Dockerfile
gitea_urls: gitea_urls:
api: https://forge.babariviere.com/api/v1 api: https://forge.babariviere.com/api/v1

4
release/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM scratch
WORKDIR /app
COPY ntfy-bridge /app/ntfy-bridge
ENTRYPOINT ["/app/ntfy-bridge"]