Skip to content

Commit

Permalink
refactor: refactor entrypoint and binary for AWS Lambda integration
Browse files Browse the repository at this point in the history
- Change the label schema name to "AWS Lambda Plugin"
- Replace the SSH binary with the Lambda binary
- Change the entrypoint to the Lambda binary

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Mar 31, 2023
1 parent ce1a5f6 commit 6d288a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ ARG TARGETOS
ARG TARGETARCH

LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
org.label-schema.name="SSH Plugin" \
org.label-schema.name="AWS Lambda Plugin" \
org.label-schema.vendor="Bo-Yi Wu" \
org.label-schema.schema-version="1.0"

RUN apk add --no-cache ca-certificates && \
rm -rf /var/cache/apk/*

COPY release/${TARGETOS}/${TARGETARCH}/drone-ssh /bin/
COPY release/${TARGETOS}/${TARGETARCH}/drone-lambda /bin/

ENTRYPOINT ["/bin/drone-ssh"]
ENTRYPOINT ["/bin/drone-lambda"]

0 comments on commit 6d288a6

Please sign in to comment.