mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-03 01:30:44 +09:00
chore: update base docker image.
This commit is contained in:
+4
-10
@@ -1,21 +1,15 @@
|
|||||||
FROM golang:1.11
|
FROM appleboy/drone-telegram:1.4.1-linux-amd64
|
||||||
|
|
||||||
# Github labels
|
# Github labels
|
||||||
LABEL "com.github.actions.name"="Telegram Notify"
|
LABEL "com.github.actions.name"="Telegram Notify"
|
||||||
LABEL "com.github.actions.description"="Sending a Telegram notification message"
|
LABEL "com.github.actions.description"="Sending a Telegram message"
|
||||||
LABEL "com.github.actions.icon"="message-square"
|
LABEL "com.github.actions.icon"="message-square"
|
||||||
LABEL "com.github.actions.color"="blue"
|
LABEL "com.github.actions.color"="blue"
|
||||||
|
|
||||||
LABEL "repository"="https://github.com/Ilshidur/actions"
|
LABEL "repository"="https://github.com/telegram-action"
|
||||||
LABEL "homepage"="https://github.com/appleboy/telegram-action"
|
LABEL "homepage"="https://github.com/appleboy/telegram-action"
|
||||||
LABEL "maintainer"="Bo-Yi Wu <appleboy.tw@gmail.com>"
|
LABEL "maintainer"="Bo-Yi Wu <appleboy.tw@gmail.com>"
|
||||||
LABEL "version"="0.0.1"
|
LABEL "version"="0.0.2"
|
||||||
|
|
||||||
ENV TELEGRAM_VERSION=1.4.1
|
|
||||||
ENV OS_ARCH=linux-amd64
|
|
||||||
|
|
||||||
RUN wget https://github.com/appleboy/drone-telegram/releases/download/${TELEGRAM_VERSION}/drone-telegram-${TELEGRAM_VERSION}-${OS_ARCH} -O /bin/drone-telegram
|
|
||||||
RUN chmod +x /bin/drone-telegram
|
|
||||||
|
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user