Skip to content

Commit

Permalink
update GitHub Actions Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrofisr committed Jun 29, 2024
1 parent a679b09 commit 18bee73
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
uses: google-github-actions/auth@v2
with:
project_id: ${{ secrets.PROJECT_ID }}
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}

- name: Build and push Docker image Backend
id: build-push-back
Expand Down Expand Up @@ -73,3 +73,8 @@ jobs:
image: ghcr.io/${{ github.repository }}/cloud-run-front:${{ env.IMAGE_VERSION }}
region: asia-southeast2
project_id: ${{ secrets.PROJECT_ID }}

- name: 'Use output'
run: |
'curl "${{ steps.deploy-cloud-run-back.outputs.url }}"'
'curl "${{ steps.deploy-cloud-run-front.outputs.url }}"'

0 comments on commit 18bee73

Please sign in to comment.