diff --git a/.github/main.workflow b/.github/main.workflow index bf86dd6..42570a5 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -22,3 +22,15 @@ action "Send Default Message" { "TELEGRAM_TO", ] } + +action "Send photo message" { + uses = "appleboy/telegram-action@master" + secrets = [ + "TELEGRAM_TOKEN", + "TELEGRAM_TO", + ] + env = { + PHOTO = "tests/github.png" + } + args = "A new commit has been pushed." +} diff --git a/Dockerfile b/Dockerfile index 1ce0f75..0e4a0b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM appleboy/drone-telegram:1.4.1-linux-amd64 +FROM appleboy/drone-telegram:1.4.2-linux-amd64 # Github labels LABEL "com.github.actions.name"="Telegram Notify"