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
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
environment:
|
environment:
|
||||||
@ -13,30 +14,27 @@ steps:
|
|||||||
- go vet
|
- go vet
|
||||||
- go build
|
- go build
|
||||||
|
|
||||||
- name: upload
|
|
||||||
image: plugins/s3
|
- name: upload artifacts
|
||||||
|
image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest
|
||||||
settings:
|
settings:
|
||||||
bucket: artifacts
|
token:
|
||||||
access_key:
|
from_secret: TOKEN
|
||||||
from_secret: MINIO_ACCESS_KEY
|
version: .version
|
||||||
secret_key:
|
artifact: mini-vault
|
||||||
from_secret: MINIO_SECRET_KEY
|
filename: mini-vault/mini-vault
|
||||||
endpoint: https://minio.burble.dn42
|
package: libvault
|
||||||
region: fr-par1
|
owner: burble.dn42
|
||||||
path_style: true
|
|
||||||
source: mini-vault/mini-vault
|
|
||||||
target: /mini-vault/${DRONE_BRANCH}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: secret
|
kind: secret
|
||||||
name: MINIO_ACCESS_KEY
|
name: TOKEN
|
||||||
get:
|
get:
|
||||||
path: burble.dn42/kv/data/drone/minio
|
path: burble.dn42/kv/data/drone/git.burble.dn42
|
||||||
name: ACCESS_KEY
|
name: artifact-token
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: secret
|
kind: signature
|
||||||
name: MINIO_SECRET_KEY
|
hmac: 7f0c3ef22f9e899ebb27b357bb9396d4b5aac99ba7e5c481705a70f262485c3b
|
||||||
get:
|
|
||||||
path: burble.dn42/kv/data/drone/minio
|
...
|
||||||
name: SECRET_KEY
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user