update to use gitea packages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d954d5091c
commit
89db21a6b7
38
.drone.yml
38
.drone.yml
@ -4,6 +4,7 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
|
||||
- name: build
|
||||
image: golang
|
||||
environment:
|
||||
@ -13,30 +14,27 @@ steps:
|
||||
- go vet
|
||||
- go build
|
||||
|
||||
- name: upload
|
||||
image: plugins/s3
|
||||
|
||||
- name: upload artifacts
|
||||
image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest
|
||||
settings:
|
||||
bucket: artifacts
|
||||
access_key:
|
||||
from_secret: MINIO_ACCESS_KEY
|
||||
secret_key:
|
||||
from_secret: MINIO_SECRET_KEY
|
||||
endpoint: https://minio.burble.dn42
|
||||
region: fr-par1
|
||||
path_style: true
|
||||
source: mini-vault/mini-vault
|
||||
target: /mini-vault/${DRONE_BRANCH}
|
||||
token:
|
||||
from_secret: TOKEN
|
||||
version: .version
|
||||
artifact: mini-vault
|
||||
filename: mini-vault/mini-vault
|
||||
package: libvault
|
||||
owner: burble.dn42
|
||||
|
||||
---
|
||||
kind: secret
|
||||
name: MINIO_ACCESS_KEY
|
||||
name: TOKEN
|
||||
get:
|
||||
path: burble.dn42/kv/data/drone/minio
|
||||
name: ACCESS_KEY
|
||||
path: burble.dn42/kv/data/drone/git.burble.dn42
|
||||
name: artifact-token
|
||||
|
||||
---
|
||||
kind: secret
|
||||
name: MINIO_SECRET_KEY
|
||||
get:
|
||||
path: burble.dn42/kv/data/drone/minio
|
||||
name: SECRET_KEY
|
||||
kind: signature
|
||||
hmac: 7f0c3ef22f9e899ebb27b357bb9396d4b5aac99ba7e5c481705a70f262485c3b
|
||||
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user