Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasptsch committed Dec 13, 2021
1 parent a1db047 commit da569b7
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,31 @@ steps:
rebuild: true
mount:
- ./node_modules

- name: Publish Release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
when:
event:
- tag
branch:
- master
- name: Publish Bot
pull: if-not-exists
image: plugins/docker
when:
branch:
- master
event:
- promote
- tag
settings:
username:
from_secret: github_username
password:
from_secret: github_token
repo: ghcr.io/dynamicabot/dynamica
auto_tag: true
registry: ghcr.io
cache_from: ghcr.io/dynamicabot/dynamica
volumes:
Expand Down

0 comments on commit da569b7

Please sign in to comment.