Skip to content

Commit

Permalink
wip: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Aug 30, 2024
1 parent 5a3891b commit ca061a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ ci: {
credentials: {
provider: "aws"
path: "global/ci/docker"
maps: {
username: "username"
password: "password"
}
}
}
earthly: {
Expand Down
2 changes: 1 addition & 1 deletion forge/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ runs:
EARTHLY=$(echo "$BP" | jq -r .ci.providers.earthly.credentials)
if [[ "$EARTHLY" != "null" ]]; then
SECRET=$(forge secret get -b . ci.providers.earthly.credentials)
TOKEN=$(echo "$EARTHLY" | jq -r .token)
TOKEN=$(echo "$SECRET" | jq -r .token)
if [[ "$TOKEN" == "null" ]]; then
echo "Error: the earthly provider secret must map the secret value to 'token'"
Expand Down

0 comments on commit ca061a4

Please sign in to comment.