13 Commits

Author SHA1 Message Date
2457c13302 re-add notifications 2022-08-22 12:12:31 +12:00
9827e6bcb2 fix dockerfile
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-08-22 12:06:44 +12:00
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
2605d0beba event when syntax 2022-08-22 11:29:44 +12:00
83406504c5 event when syntax 2022-08-22 11:28:19 +12:00
60d191f5a2 event when syntax 2022-08-22 11:25:37 +12:00
61d997bac9 event syntax 2022-08-22 11:22:00 +12:00
2b647bdb87 syntax 2022-08-22 11:18:32 +12:00
467f22d1ff tshoot
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-08-22 11:13:14 +12:00
e4cbf1c544 tshoot 2022-08-22 11:10:27 +12:00
d509952927 t-shooting 2022-08-22 11:08:17 +12:00
d5dc96bfbd t-shoot triggering 2022-08-22 11:06:22 +12:00
2 changed files with 17 additions and 14 deletions

View File

@ -21,10 +21,9 @@ pipeline:
docker-build:
image: docker:latest
when:
- event: tag
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
*vars
secrets:
@ -46,8 +45,8 @@ pipeline:
image: code.balsillie.net/containers/woodpecker-util
pull: false
when:
- event: tag
status: [ success ]
- status:
- success
environment:
*vars
secrets:
@ -62,8 +61,8 @@ pipeline:
image: code.balsillie.net/containers/woodpecker-util
pull: false
when:
- event: tag
status: [ failure ]
- status:
- failure
environment:
*vars
secrets:

View File

@ -1,17 +1,21 @@
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} \
ARG SHOUTRRR_VERSION
RUN git clone -b ${SHOUTRRR_VERSION} --depth 1 https://github.com/containrrr/shoutrrr.git ./shoutrrr
RUN cd ./shoutrrr && \
mkdir /output && \
go build -o /output ./shoutrrr
FROM debian:11-slim
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get update && \
apt-get install -y bash curl jq ca-certificates && \
apt-get -y --no-install-recommends install \
bash \
curl \
jq \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
RUN ln -sf /bin/bash /bin/sh
WORKDIR /root
COPY --from=builder /output ./shoutrrr
RUN chmod +x /root/shoutrrr/shoutrrr && \
ln -sf /root/shoutrrr/shoutrrr /usr/bin/shoutrrr
COPY --from=builder /output/shoutrrr /usr/bin/shoutrrr
RUN chmod +x /usr/bin/shoutrrr