docker: Release 0.4.0
This commit is contained in:
parent
add22b771a
commit
c96c83a19c
2 changed files with 19 additions and 1 deletions
18
.justfile
18
.justfile
|
@ -1,3 +1,5 @@
|
|||
version := "0.4.0"
|
||||
|
||||
default:
|
||||
@just --choose
|
||||
|
||||
|
@ -16,6 +18,22 @@ gofmt:
|
|||
build:
|
||||
go build
|
||||
|
||||
release-docker:
|
||||
docker build -t xenrox/ntfy-alertmanager:latest docker
|
||||
docker tag xenrox/ntfy-alertmanager:latest xenrox/ntfy-alertmanager:{{version}}
|
||||
docker push xenrox/ntfy-alertmanager:latest
|
||||
docker push xenrox/ntfy-alertmanager:{{version}}
|
||||
|
||||
docker tag xenrox/ntfy-alertmanager:latest code.xenrox.net/xenrox/ntfy-alertmanager:latest
|
||||
docker tag xenrox/ntfy-alertmanager:latest code.xenrox.net/xenrox/ntfy-alertmanager:{{version}}
|
||||
docker push code.xenrox.net/xenrox/ntfy-alertmanager:latest
|
||||
docker push code.xenrox.net/xenrox/ntfy-alertmanager:{{version}}
|
||||
|
||||
docker tag xenrox/ntfy-alertmanager:latest codeberg.org/xenrox/ntfy-alertmanager:latest
|
||||
docker tag xenrox/ntfy-alertmanager:latest codeberg.org/xenrox/ntfy-alertmanager:{{version}}
|
||||
docker push codeberg.org/xenrox/ntfy-alertmanager:latest
|
||||
docker push codeberg.org/xenrox/ntfy-alertmanager:{{version}}
|
||||
|
||||
upgrade-deps:
|
||||
go get -u ./...
|
||||
go mod tidy
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM golang:alpine AS build
|
||||
WORKDIR /app
|
||||
ARG VERSION=0.3.0
|
||||
ARG VERSION=0.4.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
|
||||
|
|
Loading…
Add table
Reference in a new issue