mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-08 00:55:14 +00:00
fix deploy.sh, list auth+config
This commit is contained in:
parent
49dc313c4d
commit
7ce512daa8
2 changed files with 10 additions and 3 deletions
7
.github/workflows/deploy.yaml
vendored
7
.github/workflows/deploy.yaml
vendored
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
KO_DOCKER_REPO: gcr.io/kontaindotme
|
||||
- uses: 'google-github-actions/setup-gcloud@v0.2.1'
|
||||
with:
|
||||
project_id: 'kontaindotme'
|
||||
project_id: kontaindotme
|
||||
|
||||
- uses: 'google-github-actions/auth@v0.3.0'
|
||||
id: auth
|
||||
|
|
@ -35,6 +35,9 @@ jobs:
|
|||
workload_identity_provider: 'projects/7577580991/locations/global/workloadIdentityPools/gha-pool/providers/gha-provider'
|
||||
service_account: 'gha-deployer@kontaindotme.iam.gserviceaccount.com'
|
||||
create_credentials_file: true
|
||||
- run: gcloud auth login --brief --cred-file="${{ steps.auth.outputs.credentials_file_path }}"
|
||||
- run: |
|
||||
gcloud auth list
|
||||
gcloud config list
|
||||
gcloud auth login --brief --cred-file="${{ steps.auth.outputs.credentials_file_path }}"
|
||||
|
||||
- run: ./deploy.sh
|
||||
|
|
|
|||
|
|
@ -2,4 +2,8 @@
|
|||
|
||||
set -euxo pipefail
|
||||
|
||||
time find cmd -name "deploy.sh" -exec {} \;
|
||||
|
||||
find cmd -name 'deploy.sh' -print0 |
|
||||
while IFS= read -r -d '' line; do
|
||||
bash -c "$line"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue