mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-12-04 21:08:11 +00:00
Update '.drone.yml'
This commit is contained in:
parent
b64e5c16c5
commit
c269ad0034
1 changed files with 19 additions and 1 deletions
20
.drone.yml
20
.drone.yml
|
@ -6,6 +6,15 @@ platform:
|
|||
os: linux
|
||||
arch: amd64
|
||||
steps:
|
||||
- name: fetch
|
||||
image: docker:git
|
||||
commands:
|
||||
- git fetch --tags
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
- tag
|
||||
- name: init
|
||||
image: golang:1.18.3-alpine3.16
|
||||
commands:
|
||||
|
@ -31,4 +40,13 @@ steps:
|
|||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
- pull_request
|
||||
- name: release
|
||||
image: goreleaser/goreleaser
|
||||
environment:
|
||||
GITHUB_TOKEN:
|
||||
from_secret: github_token
|
||||
commands:
|
||||
- goreleaser release
|
||||
when:
|
||||
event: tag
|
||||
|
|
Loading…
Reference in a new issue