Skip to content

Commit

Permalink
gcr
Browse files Browse the repository at this point in the history
  • Loading branch information
Depado committed Nov 16, 2020
1 parent 7e65df9 commit 02a15e9
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ steps:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.32.2
- ./bin/golangci-lint run

- name: gcr
image: plugins/gcr
settings:
repo: discord-fox-bot/fox
json_key:
from_secret: gcr_credentials
tags:
- latest
- "${DRONE_COMMIT_SHA}"
build_args:
- version="latest"
- build="${DRONE_COMMIT_SHA}"
when:
event: [push]
branch: [master]


- name: telegram
image: appleboy/drone-telegram
settings:
Expand All @@ -31,7 +48,7 @@ steps:
message: >
*{{repo.name}}*
[Build {{build.number}}]({{build.link}}) by {{commit.author}} {{#success build.status}}succeeded{{else}}failed{{/success}} in {{buildtime build.started}}
[Build {{build.number}}]({{build.link}}) by {{commit.author}} {{#success build.status}}succeeded{{else}}failed{{/success}} in {{since build.started}}
`{{truncate commit.sha 8}}`: "{{commit.message}}"
Expand Down

0 comments on commit 02a15e9

Please sign in to comment.