Initial commit
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
2024-01-05 22:21:16 +01:00
commit 510e60a42e
10 changed files with 829 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM golang:1.21
WORKDIR /src
COPY . .
RUN go build -o /src/ci-wrapper ./main.go
FROM alpine:3.19
COPY --from=0 /src/ci-wrapper /bin/ci-wrapper
COPY --chmod=555 entrypoint.sh /bin/entrypoint.sh
RUN apk add --no-cache git
ENTRYPOINT ["ash", "/bin/entrypoint.sh"]