mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-06-04 10:15:05 +08:00
chore(docker): replace ADD with COPY
This commit is contained in:
@@ -8,5 +8,5 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
RUN apk add --no-cache ca-certificates && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
ADD release/linux/amd64/drone-scp /bin/
|
||||
COPY release/linux/amd64/drone-scp /bin/
|
||||
ENTRYPOINT ["/bin/drone-scp"]
|
||||
|
||||
@@ -8,5 +8,5 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
RUN apk add --no-cache ca-certificates && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
ADD release/linux/arm/drone-scp /bin/
|
||||
COPY release/linux/arm/drone-scp /bin/
|
||||
ENTRYPOINT ["/bin/drone-scp"]
|
||||
|
||||
@@ -8,5 +8,5 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
RUN apk add --no-cache ca-certificates && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
ADD release/linux/arm64/drone-scp /bin/
|
||||
COPY release/linux/arm64/drone-scp /bin/
|
||||
ENTRYPOINT ["/bin/drone-scp"]
|
||||
|
||||
@@ -5,5 +5,5 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
org.label-schema.vendor="Bo-Yi Wu" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ADD drone-scp.exe /drone-scp.exe
|
||||
COPY drone-scp.exe /drone-scp.exe
|
||||
ENTRYPOINT [ "\\drone-scp.exe" ]
|
||||
|
||||
Reference in New Issue
Block a user