From bfccce270fe33cf0c74e4be4eb871a91c4fdc55c Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Tue, 21 Dec 2021 11:57:22 +0000 Subject: [PATCH] test secrets --- .drone.yml | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/.drone.yml b/.drone.yml index e892954..bdb0ae4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,29 +3,18 @@ kind: pipeline type: docker name: default -workspace: - base: /go - path: src/dn42regsrv - steps: - - name: build - image: golang + image: alpine + environment: + BLAH: + from_secret: blah commands: - - go build - - - name: release - image: plugins/gitea-release - settings: - api_key: - from_secret: gitea_token - base_url: https://git.burble.dn42 - files: - - pipeline-test - checksum: - - sha512 - title: pipeline-test - ${DRONE_TAG} - note: ${DRONE_COMMIT_MESSAGE} - when: - event: tag - + - echo "secret is: $BLAH" + +--- +kind: secret +name: blah +get: + path: burble.dn42/kv/drone/text + name: blah