Pular para conteúdo

minio plugin

See MinIO Client documentation at https://github.com/minio/mc.

steps:
  - name: "Save artifact in bucket"
    description: "Description of this step"
    run_as: user
    envs:
      HOME: /tmp/
    plugin:
      name: minio
      bash: |
        # List files in the bucket
        mc ls microci/bucket_name
        # Copy files from workspace to the bucket
        mc cp Makefile microci/bucket_name/
        # Copy files from the bucket to the workspace
        mc cp microci/bucket_name/image.png .