Skip to content

cloudbees-io/jfrog-artifactory-upload-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CloudBees action: Upload a file to JFrog Artifactory

Use this action to upload a file to the JFrog Artifactory repository manager.

Inputs

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

url

String

Yes

The JFrog Artifactory server URL.

token

String

Required only if username and password are not specified.

The JFrog Artifactory token.

username

String

Required only if token is not specified.

The JFrog Artifactory username.

password

String

Required only if token is not specified.

The JFrog Artifactory password.

file-path

String

Yes

The path of the file to be uploaded.

artifactory-path

String

Yes

The JFrog Artifactory destination path for the upload.

Usage example

In your YAML file, add:

      - name: Upload file from JFrog Artifactory
        uses: cloudbees-io/jfrog-artifactory-upload-file@v1
        with:
          url: ${{ JFROG_URL }}
          username: ${{ secrets.JFROG_USERNAME }}
          password: ${{ secrets.JFROG_PASSWORD }}
          file-path: "/local-path"
          artifactory-path: "test-image.tar"

License

This code is made available under the MIT license.

References