Drone plugin to convert a base64 encoded string into a file. Originally written to get a Google json
credentials file injected but could be used for other purposes.
-
base64
base64 encoded string of a file -
destination_file
Full file path for the destination file
kind: pipeline
name: default
steps:
- name: create_key
image: viant/drone-base64:latest
settings:
base64:
from_secret: google_key
destination_file: /drone/src/gcloud.json