docker: Release 0.3.0

This commit is contained in:
Thorben Günther 2023-07-19 16:38:40 +02:00
parent c5575c3dc1
commit e8918ce3e7
No known key found for this signature in database
GPG key ID: 415CD778D8C5AFED

View file

@ -1,11 +1,11 @@
FROM golang:alpine as build
WORKDIR /app
ARG VERSION=0.1.0
ARG VERSION=0.3.0
RUN wget https://git.xenrox.net/~xenrox/ntfy-alertmanager/refs/download/v${VERSION}/ntfy-alertmanager-${VERSION}.tar.gz -O latest.tar.gz && \
tar -zxf latest.tar.gz
RUN cd ntfy-alertmanager-${VERSION} && \
go build -o /app/ntfy-alertmanager
go build -ldflags="-X main.version=v${VERSION}" -o /app/ntfy-alertmanager
FROM alpine:latest