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