build: images with goreleaser (#496)

* build: images with goreleaser

* build: cleanup workflow
This commit is contained in:
ze0s 2022-10-13 20:31:43 +02:00 committed by GitHub
parent 2f3eb8d676
commit bc335ccf1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 97 additions and 56 deletions

21
goreleaser.Dockerfile Normal file
View file

@ -0,0 +1,21 @@
FROM alpine:latest
LABEL org.opencontainers.image.source = "https://github.com/autobrr/autobrr"
ENV HOME="/config" \
XDG_CONFIG_HOME="/config" \
XDG_DATA_HOME="/config"
#RUN ["apk", "--no-cache", "add", "ca-certificates","curl"]
COPY autobrr /usr/local/bin/autobrr
COPY autobrrctl /usr/local/bin/autobrrctl
WORKDIR /config
VOLUME /config
EXPOSE 7474
ENTRYPOINT ["/usr/local/bin/autobrr", "--config", "/config"]
#CMD ["--config", "/config"]