Skip to content

Commit

Permalink
fix: build failed when vault is disable
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbriere1 committed Apr 17, 2024
1 parent 9202fec commit 79605a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ jobs:
target: ${{ inputs.image_target }}
build-args: |
${{ inputs.build-args }}
GITHUB_USER=${{ fromJSON( steps.secrets.outputs.outputs ).GH_ORG_READ_REPO_USER }}
GITHUB_TOKEN=${{ fromJSON( steps.secrets.outputs.outputs ).GH_ORG_READ_REPO_TOKEN }}
GITHUB_USER=${{ inputs.vault_enabled && fromJSON( steps.secrets.outputs.outputs ).GH_ORG_READ_REPO_USER }}
GITHUB_TOKEN=${{ inputs.vault_enabled && fromJSON( steps.secrets.outputs.outputs ).GH_ORG_READ_REPO_TOKEN }}
AWS_ACCESS_KEY_ID=${{ steps.aws.outputs.aws-access-key-id }}
AWS_SECRET_ACCESS_KEY=${{ steps.aws.outputs.aws-secret-access-key }}
AWS_SESSION_TOKEN=${{ steps.aws.outputs.aws-session-token }}
Expand Down

0 comments on commit 79605a9

Please sign in to comment.