|
@@ -14,7 +14,7 @@ env:
|
|
|
# Common users. We can't run a step 'if secrets.GHCR_USERNAME != ""' but we can run
|
|
# Common users. We can't run a step 'if secrets.GHCR_USERNAME != ""' but we can run
|
|
|
# a step 'if env.GHCR_USERNAME' != ""', so we copy these to succinctly test whether
|
|
# a step 'if env.GHCR_USERNAME' != ""', so we copy these to succinctly test whether
|
|
|
# credentials have been provided before trying to run steps that need them.
|
|
# credentials have been provided before trying to run steps that need them.
|
|
|
- GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
|
|
|
|
|
|
|
+ GHCR_USERNAME: ${{ github.actor }}
|
|
|
GCP_SM_SA_JSON: ${{ secrets.GCP_SM_SA_JSON}}
|
|
GCP_SM_SA_JSON: ${{ secrets.GCP_SM_SA_JSON}}
|
|
|
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID}}
|
|
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID}}
|
|
|
USE_GKE_GCLOUD_AUTH_PLUGIN: true
|
|
USE_GKE_GCLOUD_AUTH_PLUGIN: true
|
|
@@ -47,7 +47,7 @@ env:
|
|
|
GITHUB_PR_NUMBER: ${{ github.event.client_payload.pull_request.number }}
|
|
GITHUB_PR_NUMBER: ${{ github.event.client_payload.pull_request.number }}
|
|
|
CLOUD_PROVIDER: ${{ github.event.client_payload.slash_command.args.named.provider }}
|
|
CLOUD_PROVIDER: ${{ github.event.client_payload.slash_command.args.named.provider }}
|
|
|
INFRACOST_API_KEY: ${{ secrets.INFRACOST_API_KEY }}
|
|
INFRACOST_API_KEY: ${{ secrets.INFRACOST_API_KEY }}
|
|
|
- GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
|
|
|
|
|
|
|
+ GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
name: managed e2e tests
|
|
name: managed e2e tests
|
|
|
|
|
|