Skip to content

Commit

Permalink
refactor(ml)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelovetrb committed Feb 19, 2024
1 parent 93e6c6a commit a99927c
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/deploy_cloudrun_machine_learning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,26 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Cloud SDK
uses: "google-github-actions/setup-gcloud@v2"
- name: Setup gcloud CLI
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
skip_install: false
version: latest

# gcloud CLIを認証するステップを追加
- name: Auth
uses: google-github-actions/auth@v0.4.0
with:
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}

# - name: Set up Cloud SDK
# uses: "google-github-actions/setup-gcloud@v2"
# with:
# workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
# service_account: ${{ secrets.SERVICE_ACCOUNT }}

- name: Build Docker image
run: |
docker build \
Expand Down

0 comments on commit a99927c

Please sign in to comment.