Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
taugk committed Dec 14, 2023
2 parents f0171a9 + 59585c7 commit 51bc350
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
9 changes: 3 additions & 6 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 All @@ -70,4 +67,4 @@ jobs:
--region ${{ secrets.REGION }} \
--platform managed \
--allow-unauthenticated \
--service-account=380213542706[email protected]
--service-account=848793158287[email protected]
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM node:18.18.2

WORKDIR /app

COPY credentials.json ./config/credentials.json

COPY package*.json ./

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@

```bash
https://github.com/Mubazir-Bangkit-2023/mubazir-cloud-computing.git

2. Install :

```bash
npm install
1 change: 0 additions & 1 deletion config/credentials.json

This file was deleted.

0 comments on commit 51bc350

Please sign in to comment.