Comments (5)
@callum-tait-pbx -
I'm closing this issue for now, but please let us know if you have additional questions.
from setup-jfrog-cli.
@callum-tait-pbx,
Can you please elaborate more about your use case?
from setup-jfrog-cli.
Just starting to look at using this with our Artifactory. We want to use Artifactory to be able to upload a build in 1 job and in a downstream job download the build again. We don't want to upload to Github's servers al la:
https://github.com/actions/upload-artifact
https://github.com/actions/download-artifact
I've setup a generic repository as I think that is right. I am a little confused how to use this though, we use your saas product, I was expecting to have to provide an API key and an endpoint to authenticate as part of using the action? I already have an API key generated but the docs are written as if you make one via action and then put that in your secrets?
from setup-jfrog-cli.
@callum-tait-pbx,
Using the JFrog CLI, you can upload and download artifacts from all repository types, including generic ones.
This Action downloads, installs, and configures the JFrog CLI in your workflow.
To use this action, please follow the following steps:
- Download JFrog CLI to your local machine https://jfrog.com/getcli/.
- Configure your Artifactory server in your local machine by running
jfrog config add
. - Create a server token:
jfrog config export
. This token contains all of the required server details - Artifactory URL, API key, etc. - In your GitHub repository under
Settings
/Secrets
, create a secretJF_ARTIFACTORY_SECRET_1
and fill it with your server token (requires admin privileges in your GitHub repository). - Use this action:
- uses: jfrog/setup-jfrog-cli@v1
env:
JF_ARTIFACTORY_1: ${{ secrets.JF_ARTIFACTORY_SECRET_1 }}
- run: |
# Upload
jfrog rt upload <path to a file> <full path in Artifactory>
# Download
jfrog rt download <full path in Artifactory> <path to download>
Read more:
Please let us know if you need any further assistance.
from setup-jfrog-cli.
Ah, that makes much more sense! Cheers, I'll give that a go! To be honest the docs make it clear I just got confused somehow
from setup-jfrog-cli.
Related Issues (20)
- jf rt u source to destination says success but doesn't upload the artifact to the repository HOT 3
- Upgrade JFrog CLI version to address Maven 3.9.x incompatibility
- version change in action.yaml to 2.50 cli version breaking the existing git workflows. commit https://github.com/jfrog/setup-jfrog-cli/commit/60f0b2eae7e0f3bc79c092fa43587f5592b07339 HOT 1
- Windows runner pwsh not exiting on invalid jf rt upload command
- jfrog commad stuck at configuration and failing HOT 3
- JFrog CLI not reading environment variables correctly HOT 12
- Exchanging JSON web token with an access token failed: Input required and not supplied: oidc-provider-name HOT 9
- Provide the token as output of OIDC authentication HOT 5
- Upgrade to Node.js 20 LTS HOT 3
- (short feature description) HOT 1
- Certificate is Expired HOT 9
- Response status code does not indicate success: 500 Internal Server error HOT 3
- Getting 404 while uploading package to JFrog artifactory HOT 1
- Using jfrog/setup-jfrog-cli with flexible customization in a controlled environment HOT 7
- What is --server-id? HOT 2
- node 12 deprecation HOT 6
- can not use jfrogcli action in rocky 9/ubi9
- Getting --url option is mandatory error for ping and upload commands HOT 10
- action not using no_proxy (on windows)
- trying to connect lib- dll files from j frog artifactory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-jfrog-cli.