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

1
.version Normal file
View File

@ -0,0 +1 @@
1.0.1