mirror of
https://github.com/appleboy/drone-telegram.git
synced 2026-06-14 05:12:22 +08:00
build: add GitHub workflows and Dockerfile
- Add a new file `.github/FUNDING.yml` - Add a new file `.github/dependabot.yml` - Add a new file `.github/workflows/codeql.yml` - Add a new file `.github/workflows/docker.yml` - Add a new file `.github/workflows/goreleaser.yml` - Add a new file `.github/workflows/lint.yml` - Add a new file `docker/Dockerfile` - Delete the file `docker/Dockerfile.linux.amd64` - Delete the file `docker/Dockerfile.linux.arm` - Delete the file `docker/Dockerfile.linux.arm64` - Delete the file `docker/Dockerfile.windows.amd64` - Delete the file `docker/manifest.tmpl` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
FROM alpine:3.17
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
org.label-schema.name="SSH Plugin" \
|
||||
org.label-schema.vendor="Bo-Yi Wu" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/appleboy/drone-telegram
|
||||
LABEL org.opencontainers.image.description="plugin for sending telegram notifications"
|
||||
LABEL org.opencontainers.image.licenses=MIT
|
||||
|
||||
RUN apk add --no-cache ca-certificates=20230506-r0 && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY release/${TARGETOS}/${TARGETARCH}/drone-telegram /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone-telegram"]
|
||||
Reference in New Issue
Block a user