Skip to content

Commit

Permalink
Update main_CI_CD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
m4a1carbin4 authored Apr 14, 2024
1 parent 2d25bdd commit 153f93d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main_CI_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |-
Expand Down

0 comments on commit 153f93d

Please sign in to comment.