|
30 | 30 | image_tag: ${{ steps.image_tag.outputs.IMAGE_TAG }}
|
31 | 31 | steps:
|
32 | 32 | - name: Checkout code
|
33 |
| - uses: actions/checkout@v3 |
| 33 | + uses: actions/checkout@v4 |
34 | 34 | with:
|
35 | 35 | # By default, this checks out only the current commit;
|
36 | 36 | # however, since a diff between the current commit and
|
@@ -118,13 +118,13 @@ jobs:
|
118 | 118 | python-version: ['3.8']
|
119 | 119 | steps:
|
120 | 120 | - name: Checkout code
|
121 |
| - uses: actions/checkout@v3 |
| 121 | + uses: actions/checkout@v4 |
122 | 122 | with:
|
123 | 123 | # See the comment on build_args_job.
|
124 | 124 | fetch-depth: 0
|
125 | 125 |
|
126 | 126 | - name: Setup Python
|
127 |
| - uses: actions/setup-python@v2 |
| 127 | + uses: actions/setup-python@v5 |
128 | 128 | with:
|
129 | 129 | python-version: ${{ matrix.python-version }}
|
130 | 130 |
|
@@ -155,30 +155,34 @@ jobs:
|
155 | 155 | DOCKERS_GCP: "./inputs/values/dockers.json"
|
156 | 156 | steps:
|
157 | 157 | - name: Checkout code
|
158 |
| - uses: actions/checkout@v3 |
| 158 | + uses: actions/checkout@v4 |
159 | 159 | with:
|
160 | 160 | # See the comment on build_args_job.
|
161 | 161 | fetch-depth: 0
|
162 | 162 | # Authenticates git using the bot's access token.
|
163 | 163 | token: ${{ secrets.BOT_PAT }}
|
164 | 164 |
|
165 | 165 | - name: Setup Python
|
166 |
| - uses: actions/setup-python@v3 |
| 166 | + uses: actions/setup-python@v5 |
167 | 167 | with:
|
168 | 168 | python-version: ${{ matrix.python-version }}
|
169 | 169 |
|
170 | 170 | - name: Azure login
|
171 |
| - uses: azure/docker-login@v1 |
| 171 | + uses: azure/docker-login@v2 |
172 | 172 | with:
|
173 | 173 | login-server: ${{ secrets.AZ_CR }}
|
174 | 174 | username: ${{ secrets.AZ_USERNAME }}
|
175 | 175 | password: ${{ secrets.AZ_PASSWORD }}
|
176 | 176 |
|
| 177 | + - name: GCP login |
| 178 | + uses: google-github-actions/[email protected] |
| 179 | + with: |
| 180 | + credentials_json: '${{ secrets.GCP_SA_CREDENTIALS }}' |
| 181 | + |
177 | 182 | - name: Setup gcloud CLI
|
178 |
| - uses: google-github-actions/setup-gcloud@v0.3.0 |
| 183 | + uses: google-github-actions/setup-gcloud@v2 |
179 | 184 | with:
|
180 | 185 | project_id: ${{ secrets.GCP_PROJECT_ID }}
|
181 |
| - service_account_key: ${{ secrets.GCP_GCR_SA_KEY }} |
182 | 186 | # xref: https://github.com/google-github-actions/setup-gcloud#inputs
|
183 | 187 | # If you need to set `export_default_credentials: true`
|
184 | 188 | # make sure to pass the `--disable-git-protect` flag to
|
|
0 commit comments