File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,18 @@ jobs:
37
37
restore-keys : ${{ runner.os }}-gradle
38
38
- name : ' 🐘 Setup Gradle'
39
39
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'
47
42
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
53
52
- name : ' 🐳 Build the Native Docker image'
54
53
run : ./gradlew dockerBuildNative
55
54
env :
You can’t perform that action at this time.
0 commit comments