Skip to content

Commit

Permalink
wip: fixes secret paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Sep 3, 2024
1 parent 8841dda commit 29ac988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forge/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ runs:
DOCKER=$(echo "$BP" | jq -r .global.ci.providers.docker.credentials)
if [[ "$DOCKER" != "null" ]]; then
SECRET=$(forge secret get -b . ci.providers.docker.credentials)
SECRET=$(forge secret get -b .global.ci.providers.docker.credentials)
USERNAME=$(echo "$SECRET" | jq -r .username)
PASSWORD=$(echo "$SECRET" | jq -r .password)
Expand Down Expand Up @@ -140,7 +140,7 @@ runs:
EARTHLY_CREDS=$(echo "$BP" | jq -r .global.ci.providers.earthly.credentials)
if [[ "$EARTHLY_CREDS" != "null" ]]; then
SECRET=$(forge secret get -b . ci.providers.earthly.credentials)
SECRET=$(forge secret get -b .global.ci.providers.earthly.credentials)
TOKEN=$(echo "$SECRET" | jq -r .token)
if [[ "$TOKEN" == "null" ]]; then
Expand Down

0 comments on commit 29ac988

Please sign in to comment.