Skip to content

Commit 002def5

Browse files
committed
Try again again
1 parent f829e73 commit 002def5

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/gradle-deploy-native-develop.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,18 @@ jobs:
3737
restore-keys: ${{ runner.os }}-gradle
3838
- name: '🐘 Setup Gradle'
3939
uses: gradle/actions/setup-gradle@v4
40-
- name: '🐍 Setup python'
41-
run: |
42-
sudo apt-get install python2.7
43-
- name: '🐍 Export gcloud related env variable'
44-
run: export CLOUDSDK_PYTHON="/usr/bin/python2"
45-
- name: '☁️ Setup gcloud'
46-
uses: google-github-actions/setup-gcloud@v0
40+
- id: 'auth'
41+
uses: 'google-github-actions/auth@v2'
4742
with:
48-
version: "290.0.1"
49-
service_account_key: ${{ secrets.RUN_SA_KEY }}
50-
project_id: ${{ secrets.RUN_PROJECT }}
51-
- name: '🐳 Auth Configure Docker'
52-
run: gcloud --quiet auth configure-docker
43+
project_id: 'oci-intern-2019'
44+
workload_identity_provider: 'projects/832140020593/locations/global/workloadIdentityPools/github/providers/my-repo'
45+
- name: 'Set up Cloud SDK'
46+
uses: 'google-github-actions/setup-gcloud@v2'
47+
with:
48+
version: '>= 363.0.0'
49+
- name: 'Auth Configure Docker'
50+
run: |-
51+
gcloud --quiet auth configure-docker
5352
- name: '🐳 Build the Native Docker image'
5453
run: ./gradlew dockerBuildNative
5554
env:

0 commit comments

Comments
 (0)