CloudBees action: Store an object on Amazon S3

1 minute read

Use this action to upload an object file to Amazon Simple Storage Service (Amazon S3).

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

bucket-name

String

Yes

The Amazon S3 bucket name.

file-path

String

Yes

The local file path of the object to be uploaded.

s3-path

String

Yes

The Amazon S3 destination path for the upload.

Usage example

In your YAML file, add:

      - name: Upload to Amazon S3
        uses: cloudbees-io/s3-upload-object@v1
        with:
          file-path: "/local-image.tar"
          bucket-name: "Amazon_S3_bucket_name"
          s3-path: "amazon-s3-image.tar"