Merge branch 'master' into typeinsteadmap
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
commit
82e99c032b
22
.drone.yml
22
.drone.yml
@ -13,6 +13,21 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- make lint
|
- make lint
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
image: goreleaser/goreleaser:latest
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
environment:
|
||||||
|
commands:
|
||||||
|
- goreleaser build --rm-dist --snapshot
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- tag
|
||||||
|
depends_on:
|
||||||
|
- lint
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:latest
|
image: goreleaser/goreleaser:latest
|
||||||
volumes:
|
volumes:
|
||||||
@ -28,10 +43,13 @@ steps:
|
|||||||
DOCKER_REGISTRY: quay.io
|
DOCKER_REGISTRY: quay.io
|
||||||
commands:
|
commands:
|
||||||
- sleep 5
|
- sleep 5
|
||||||
- echo $DOCKER_PASSWORD | docker login $DOCKER_REGISTRY -u $DOCKER_USERNAME --password-stdin
|
- >
|
||||||
|
echo $DOCKER_PASSWORD |
|
||||||
|
docker login $DOCKER_REGISTRY -u $DOCKER_USERNAME --password-stdin
|
||||||
- goreleaser release
|
- goreleaser release
|
||||||
when:
|
when:
|
||||||
event: tag
|
event:
|
||||||
|
- tag
|
||||||
depends_on:
|
depends_on:
|
||||||
- lint
|
- lint
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user