Compare commits
1 commit
f86379253e
...
cced962b60
Author | SHA1 | Date | |
---|---|---|---|
cced962b60 |
1 changed files with 1 additions and 27 deletions
28
.drone.yml
28
.drone.yml
|
@ -1,7 +1,6 @@
|
||||||
# Test building the code and docker image
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: test-build
|
name: Tests
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: go-test
|
- name: go-test
|
||||||
|
@ -32,11 +31,6 @@ steps:
|
||||||
privileged: true
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
repo: git.faercol.me/faercol/public-ip-tracker
|
repo: git.faercol.me/faercol/public-ip-tracker
|
||||||
registry: git.faercol.me
|
|
||||||
tags: latest
|
|
||||||
username: faercol
|
|
||||||
password:
|
|
||||||
from_secret: GIT_PASSWORD
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- go-test
|
- go-test
|
||||||
- go-build
|
- go-build
|
||||||
|
@ -45,24 +39,4 @@ steps:
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
# On a tag, only build the related docker image
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: Release
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: docker-push-tag
|
|
||||||
image: thegeeklab/drone-docker-buildx
|
|
||||||
privileged: true
|
|
||||||
settings:
|
|
||||||
registry: git.faercol.me
|
|
||||||
repo: git.faercol.me/faercol/public-ip-tracker
|
|
||||||
auto_tag: true
|
|
||||||
username: faercol
|
|
||||||
password:
|
|
||||||
from_secret: GIT_PASSWORD
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- tag
|
- tag
|
||||||
|
|
Loading…
Add table
Reference in a new issue