Compare commits

...

9 Commits

Author SHA1 Message Date
cc64344845 drone ci work
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2023-04-23 00:52:18 -04:00
48f97b2be8 drone ci work
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-23 00:42:15 -04:00
b44045a36b drone ci work
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-04-23 00:40:23 -04:00
8608819642 drone ci work
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-23 00:31:52 -04:00
ae78487aef drone ci work
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-23 00:30:13 -04:00
51085a0a14 drone ci work
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-23 00:11:07 -04:00
8d153cb5d8 Drone work
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2023-04-12 21:07:22 -04:00
7d7b1f457d Drone work
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-12 21:06:40 -04:00
3b89f4e4be Drone work
All checks were successful
continuous-integration/drone Build is passing
2023-04-12 20:18:44 -04:00

57
.drone.yml Normal file
View File

@ -0,0 +1,57 @@
kind: pipeline
type: docker
name: Validate
steps:
- name: Test
image: golang:1.20
commands:
- make test
- name: Build
image: golang:1.20
commands:
- make build VERSION="test"
---
kind: pipeline
type: docker
name: Publish
steps:
- name: Test
image: golang:1.20
commands:
- make test
- name: Build
image: golang:1.20
commands:
- make build $VERSION
- name: Example
image: golang:1.20
environment:
USERNAME:
from_secret: docker_username
commands:
- echo "Username is '$USERNAME'"
- name: Docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: yeslayla/birdbot
tags:
- latest
- $VERSION
---
kind: secret
name: docker_username
get:
path: secret/cloud/docker
name: username
---
kind: secret
name: docker_password
get:
path: secret/cloud/docker
name: password