Comments (2)
Thank you for your fast response. This hint works great for me. I had to set JFROG_CLI_TEMP_DIR variable too.
Here is my adapted workflow.
name: build_app
on:
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
steps:
- name: Set JFrog CLI Home Directory
run: |
echo "JFROG_CLI_HOME_DIR=/tmp/$USER/jfrog/home" >> $GITHUB_ENV
echo "JFROG_CLI_TEMP_DIR=/tmp/$USER/jfrog/temp" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v4
- name: Setup Artifactory
uses: jfrog/setup-jfrog-cli@v4
env:
JF_URL: ${{ vars.JF_URL }}
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
- name: Build App
run: echo "app" > app
- name: Upload App
run: jfrog rt u app sw-generic/
from setup-jfrog-cli.
@fuch1m
Thank you for using this Action.
You can specify the JFrog home directory location by using the JFROG_CLI_HOME_DIR environment variable:
jobs:
build:
runs-on: self-hosted
env:
JFROG_CLI_HOME_DIR: <unique directory>
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Artifactory
uses: jfrog/setup-jfrog-cli@v4
env:
JF_URL: ${{ vars.JF_URL }}
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
...
Please let me know if that helped.
from setup-jfrog-cli.
Related Issues (20)
- 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 7
- Upgrade to Node.js 20 LTS HOT 3
- (short feature description) HOT 1
- Certificate is Expired HOT 9
- using this action with OIDC auth mechanism produces refreshable token HOT 3
- Paralell jfrog-setup-cli mess up the jfrog-cli.conf.v6 format HOT 1
- Patch request
- OIDC integration does not work with Docker when the Identity Mapping is set to Group as the Token Scope on Artifactory's side HOT 2
- Authentication fails with version 4.0.2 HOT 6
- Artifactory returns 404 for private GitHub Docker Repository
- sudden OIDC failures: Failed to get public key HOT 3
- Automatically configured JFROG_CLI_BUILD_NAME not specific enough
- Job Summary Hyperlink Uses Wrong Anchor
- Add option to disable Summary output HOT 6
- Bug in Job summary display using v4.1.2 HOT 2
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.