mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 18:33:47 +08:00
chore(docker): replace ADD with COPY
This commit is contained in:
@@ -5,6 +5,6 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
org.label-schema.vendor="Bo-Yi Wu" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ADD release/linux/amd64/drone-discord /bin/
|
||||
COPY release/linux/amd64/drone-discord /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone-discord"]
|
||||
|
||||
@@ -5,6 +5,6 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
org.label-schema.vendor="Bo-Yi Wu" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ADD release/linux/arm/drone-discord /bin/
|
||||
COPY release/linux/arm/drone-discord /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone-discord"]
|
||||
|
||||
@@ -5,6 +5,6 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
org.label-schema.vendor="Bo-Yi Wu" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ADD release/linux/arm64/drone-discord /bin/
|
||||
COPY release/linux/arm64/drone-discord /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone-discord"]
|
||||
|
||||
@@ -5,5 +5,6 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||
org.label-schema.vendor="Bo-Yi Wu" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ADD release/drone-discord.exe /drone-discord.exe
|
||||
COPY release/drone-discord.exe /drone-discord.exe
|
||||
|
||||
ENTRYPOINT [ "\\drone-discord.exe" ]
|
||||
|
||||
Reference in New Issue
Block a user