2 Commits

Author SHA1 Message Date
b0f950f96f fix dockerfile
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-08-22 11:35:04 +12:00
3cc928f37e remove when
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-08-22 11:33:07 +12:00
2 changed files with 3 additions and 6 deletions

View File

@ -20,9 +20,6 @@ clone:
pipeline:
docker-build:
when:
- event: tag
tag: v*
image: docker:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View File

@ -1,8 +1,8 @@
ARG SHOUTRRR_VERSION=v0.6.1
FROM golang:bullseye AS builder
RUN git clone https://github.com/containrrr/shoutrrr.git shoutrrr \
cd ./shoutrrr \
git checkout ${SHOUTRRR_VERSION} \
RUN git clone https://github.com/containrrr/shoutrrr.git shoutrrr && \
cd ./shoutrrr && \
git checkout ${SHOUTRRR_VERSION} && \
go build -o /output ./shoutrrr
FROM debian:11-slim