All checks were successful
continuous-integration/drone/push Build is passing
56 lines
1000 B
YAML
56 lines
1000 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: build frontend
|
|
image: golang
|
|
environment:
|
|
CGO_ENABLED: 0
|
|
commands:
|
|
- cd frontend
|
|
- go vet
|
|
- go build
|
|
|
|
- name: build proxy
|
|
image: golang
|
|
environment:
|
|
CGO_ENABLED: 0
|
|
commands:
|
|
- cd proxy
|
|
- go vet
|
|
- go build
|
|
|
|
- name: upload artifacts
|
|
image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest
|
|
settings:
|
|
token:
|
|
from_secret: TOKEN
|
|
version: RELEASE
|
|
artifact: proxy
|
|
filename: proxy/proxy
|
|
package: bird-lg-go
|
|
owner: burble.dn42
|
|
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
registry: git.burble.dn42
|
|
repo: git.burble.dn42/burble.dn42/bird-lg-go
|
|
dockerfile: frontend/Dockerfile
|
|
context: frontend/
|
|
tags: frontend
|
|
username: burble
|
|
password:
|
|
from_secret: TOKEN
|
|
storage_driver: vfs
|
|
|
|
---
|
|
kind: secret
|
|
name: TOKEN
|
|
get:
|
|
path: burble.dn42/kv/data/drone/git.burble.dn42
|
|
name: artifact-token
|