Skip to content

Commit

Permalink
Update google-cloudrun-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
satrio142 authored Dec 14, 2023
1 parent b8f0005 commit 97b7b81
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/google-cloudrun-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set Up Cloud SDK
uses: google-github-actions/[email protected]
with:
project_id: capstone-project-mubazirapp
project_id: ${{ secrets.PROJECT_ID }}
service_account_key: ${{ secrets.SATRIO }}


Expand All @@ -33,9 +33,6 @@ jobs:
echo REGION=${{ secrets.REGION }} >> .env
echo SECRET_KEY=${{ secrets.SECRET_KEY }} >> .env
- name: create credentials.json
run: |
echo -e "${{ secrets.SATRIO }}" >> credentials.json
- name: Set up Docker Buildx
Expand All @@ -60,7 +57,7 @@ jobs:
with:
context: .
push: true
no-cache: true
no-cache: false
tags: gcr.io/${{ secrets.PROJECT_ID }}/${{ secrets.IMAGE_NAME }}:latest

- name: Deploy to Cloud Run
Expand Down

0 comments on commit 97b7b81

Please sign in to comment.