docker: Release 0.3.0
This commit is contained in:
parent
c5575c3dc1
commit
e8918ce3e7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue