chore(notification): use linux-amd64 image

fixed https://github.com/appleboy/drone-telegram/issues/92

https://cloud.drone.io/appleboy/drone-telegram/143/2/4

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2020-10-03 10:37:35 +08:00
parent 390d4f4d5f
commit d133c8b87c
2 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ platform:
steps: steps:
- name: telegram - name: telegram
pull: always pull: always
image: appleboy/drone-telegram image: appleboy/drone-telegram:linux-amd64
settings: settings:
message: "{{#success build.status}} ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.\n\n📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{else}} ❌ Build #{{build.number}} of `{{repo.name}}` failed.\n\n📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{/success}}\n\n timecost: {{since build.started}}\n" message: "{{#success build.status}} ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.\n\n📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{else}} ❌ Build #{{build.number}} of `{{repo.name}}` failed.\n\n📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{/success}}\n\n timecost: {{since build.started}}\n"
to: to:

View File

@ -232,7 +232,7 @@
steps: [ steps: [
{ {
name: 'telegram', name: 'telegram',
image: 'appleboy/drone-telegram', image: 'appleboy/drone-telegram:linux-amd64',
pull: 'always', pull: 'always',
settings: { settings: {
to: { from_secret: 'telegram_to' }, to: { from_secret: 'telegram_to' },