-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d25bdd
commit 153f93d
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,13 +53,13 @@ jobs: | |
run: ./gradlew build | ||
shell: bash | ||
|
||
- name: Google Auth | ||
id: auth | ||
uses: 'google-github-actions/auth@v2' | ||
with: | ||
token_format: 'access_token' | ||
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider | ||
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}' # e.g. - [email protected] | ||
#- name: Google Auth | ||
#id: auth | ||
#uses: 'google-github-actions/auth@v2' | ||
#with: | ||
#token_format: 'access_token' | ||
#workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider | ||
#service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}' # e.g. - [email protected] | ||
|
||
# Authenticate Docker to Google Cloud Artifact Registry | ||
- name: Docker Auth | ||
|
@@ -69,13 +69,13 @@ jobs: | |
username: 'wgnwmgm' | ||
password: '${{ secrets.WGNW_DOCKER_TOKEN }}' | ||
|
||
- name: 'Set up Cloud SDK' | ||
uses: 'google-github-actions/setup-gcloud@v2' | ||
with: | ||
version: '>= 363.0.0' | ||
#- name: 'Set up Cloud SDK' | ||
#uses: 'google-github-actions/setup-gcloud@v2' | ||
#with: | ||
#version: '>= 363.0.0' | ||
|
||
- name: 'Use gcloud CLI' | ||
run: 'gcloud info' | ||
#- name: 'Use gcloud CLI' | ||
#run: 'gcloud info' | ||
|
||
- name: Build and Push Container | ||
run: |- | ||
|