update to use gitea packages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Marsh 2023-05-27 18:38:07 +01:00
parent d954d5091c
commit 89db21a6b7
Signed by: burble
GPG Key ID: E9B4156C1659C079
2 changed files with 19 additions and 20 deletions

View File

@ -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

1
.version Normal file
View File

@ -0,0 +1 @@
1.0.1