mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-09-20 19:46:11 +00:00
shorten feedback loop
This commit is contained in:
parent
aa7856ea7b
commit
8e2fc7264b
1 changed files with 12 additions and 1 deletions
13
.drone.yml
13
.drone.yml
|
@ -15,13 +15,24 @@ steps:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
- tag
|
- tag
|
||||||
|
- name: build-dev
|
||||||
|
image: golang:1.18.3-alpine3.16
|
||||||
|
commands:
|
||||||
|
- "apk add --update --no-cache make"
|
||||||
|
- "make build"
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 1000
|
||||||
|
memory: 1024MiB
|
||||||
- name: build
|
- name: build
|
||||||
image: goreleaser/goreleaser
|
image: goreleaser/goreleaser
|
||||||
commands:
|
commands:
|
||||||
- goreleaser build --snapshot
|
- goreleaser build --snapshot
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
|
||||||
- pull_request
|
- pull_request
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
Loading…
Reference in a new issue