Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ on:
required: false
ssh_private_key:
required: true
credentials_json:
required: false
apple_app_specific_password:
required: false
fastlane_password:
Expand Down Expand Up @@ -347,6 +345,9 @@ jobs:
# if: github.ref == 'refs/heads/main'
needs:
- build
permissions:
id-token: write
contents: read
Comment on lines +348 to +350
steps:
### Checking out our Repo to get pyproject.toml and other files
- uses: actions/checkout@v3
Expand All @@ -358,12 +359,13 @@ jobs:
- name: List
run: ls -la

### Authenticating with gcloud
### Authenticating with gcloud via keyless Workload Identity Federation
- name: Authenticate with Google cloud
uses: google-github-actions/auth@v2
uses: google-github-actions/auth@v3
with:
credentials_json: ${{ secrets.credentials_json }}
project_id: ${{ inputs.project_id }}
project_id: integration-server-326115
workload_identity_provider: projects/497784144587/locations/global/workloadIdentityPools/github-pool/providers/github-provider
service_account: github-actions@integration-server-326115.iam.gserviceaccount.com
create_credentials_file: true

### Setting up gcloud cli
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
pypi_token: ${{ secrets.PYPI_TOKEN }}
pypi_test_token: ${{ secrets.PYPI_TEST_TOKEN }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
Comment on lines 16 to 20
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
apple_app_specific_password: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
fastlane_password: ${{ secrets.FASTLANE_PASSWORD }}
match_password: ${{ secrets.MATCH_PASSWORD }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
pypi_token: ${{ secrets.PYPI_TOKEN }}
pypi_test_token: ${{ secrets.PYPI_TEST_TOKEN }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
Comment on lines 17 to 21
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
apple_app_specific_password: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
fastlane_password: ${{ secrets.FASTLANE_PASSWORD }}
match_password: ${{ secrets.MATCH_PASSWORD }}
Expand Down
Loading