Compare commits
1 commit
d23f79e961
...
cced962b60
Author | SHA1 | Date | |
---|---|---|---|
cced962b60 |
1 changed files with 18 additions and 3 deletions
21
.drone.yml
21
.drone.yml
|
@ -3,23 +3,38 @@ type: docker
|
||||||
name: Tests
|
name: Tests
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Go tests
|
- name: go-test
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- make -C tracker test
|
- make -C tracker test
|
||||||
|
depends_on:
|
||||||
|
|
||||||
- name: Go build
|
- name: go-build
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- make -C tracker build
|
- make -C tracker build
|
||||||
|
depends_on:
|
||||||
|
|
||||||
- name: Docker build
|
- name: docker-build
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
|
repo: git.faercol.me/faercol/public-ip-tracker
|
||||||
|
tags: latest
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
|
depends_on:
|
||||||
|
|
||||||
|
- name: docker-push
|
||||||
|
image: thegeeklab/drone-docker-buildx
|
||||||
|
privileged: true
|
||||||
|
settings:
|
||||||
|
repo: git.faercol.me/faercol/public-ip-tracker
|
||||||
|
depends_on:
|
||||||
|
- go-test
|
||||||
|
- go-build
|
||||||
|
- docker-build
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Add table
Reference in a new issue