Sign inSign up

gggoingdown/drone-azure-upload

By gggoingdown

•Updated over 3 years ago

Azure Storage Upload for Drone CI

Image
0

103

gggoingdown/drone-azure-upload repository overview

⁠Azure Storage upload for document blob

⁠Usage :
# see all augrments
python /src/az_upload.py --help
⁠Environemnts
  • PLUGIN_AZURE_UPLOAD_FILE_PATH_PREFIX
  • PLUGIN_AZURE_STORAGE_ACCOUNT
  • PLUGIN_AZURE_STORAGE_CONTAINER
  • PLUGIN_AZURE_STORAGE_CONNECTION_STRING
  • PLUGIN_SOURCE_FOLDER
  • PLUGIN_UPLOAD_FILE_SUFFIX
⁠Drone.yaml example
kind: pipeline
type: docker
name: update-doc

steps:
  - name: azure storage upload
    image: gggoingdown/drone-azure-upload:0.2
    settings:
      AZURE_UPLOAD_FILE_PATH_PREFIX: "api/test"
      AZURE_STORAGE_ACCOUNT: "some-az-storage-account"
      AZURE_STORAGE_CONTAINER: "some-az-storage-container"
      AZURE_STORAGE_CONNECTION_STRING: "some-access-token"
      SOURCE_FOLDER: "docs"
      UPLOAD_FILE_SUFFIX: ".html"

Tag summary

Content type

Image

Digest

sha256:62e5934cd…

Size

55.2 MB

Last updated

over 3 years ago

docker pull gggoingdown/drone-azure-upload:0.2