hokru / mc-client-action

provision minio mc client for Github Action with basic functionality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mc-client-action

Provisioning of the minio mc client for Github Action. This action sets up the minio target and credentials internally via the MC_HOST environmental variable.

Example

- name: Test on min.io play
  uses: hokru/mc-client-action@v0.9.3
  with:
    endpoint: play.min.io
    access_key: ${{secrets.accesskey}}
    secret_key: ${{secrets.secretkey}}
    alias: play
    cmd: "mc ls play"

Keywords

  • endpoint : address of S3 service without http*://. Should point to the API endpoint.
  • access_key: access key or username
  • secret_key: secret key or password
  • alias : The name of the S3 service. Default = minio
  • workdir: working_directory support
  • cmd: The full mc client command using the alias.

About

provision minio mc client for Github Action with basic functionality

License:MIT License


Languages

Language:Dockerfile 60.9%Language:Shell 39.1%