Use this action to upload a file to the JFrog Artifactory repository manager.
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The JFrog Artifactory server URL. |
|
String |
Required only if |
The JFrog Artifactory token. |
|
String |
Required only if |
The JFrog Artifactory username. |
|
String |
Required only if |
The JFrog Artifactory password. |
|
String |
Yes |
The path of the file to be uploaded. |
|
String |
Yes |
The JFrog Artifactory destination path for the upload. |
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"
This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.