Skip to content

Commit

Permalink
🔧 docker login-action v2->v3, fix gar removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Mar 3, 2024
1 parent cb0a10c commit 2ca7811
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cloudrun-pr-closed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: delete-artifact-registry
continue-on-error: true
run: |
gcloud artifacts docker images delete asia-northeast1-docker.pkg.dev/ynufes-hp-cloudrun/staging/tokiwa23-pr-${{ github.event.number }}:latest --quiet
gcloud artifacts docker images delete asia-northeast1-docker.pkg.dev/ynufes-hp-cloudrun/staging/tokiwa23-pr-${{ github.event.number }} --quiet
- name: Notify Failure on Pull Request
if: ${{ steps.delete-cloudrun-service.outcome != 'success' || steps.delete-artifact-registry.outcome != 'success' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cloudrun-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Authorize Docker
id: docker-auth
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: 'oauth2accesstoken'
password: ${{ steps.auth.outputs.access_token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cloudrun-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Authorize Docker
id: docker-auth
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: 'oauth2accesstoken'
password: ${{ steps.auth.outputs.access_token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cloudrun-stg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Authorize Docker
id: docker-auth
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: 'oauth2accesstoken'
password: ${{ steps.auth.outputs.access_token }}
Expand Down

0 comments on commit 2ca7811

Please sign in to comment.