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 2cf3de5 commit 82de4c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
file: ./Dockerfile.back
push: true
tags: asia-southeast2-docker.pkg.dev/${{ github.repository }}/cloud-run-back:${{ env.IMAGE_VERSION }}
cache-from: asia-southeast2-docker.pkg.dev/${{ github.repository }}/cloud-run-back:${{ env.IMAGE_VERSION }}
cache-to: asia-southeast2-docker.pkg.dev/${{ github.repository }}/cloud-run-back:${{ env.IMAGE_VERSION }},mode=max

- name: Build and push Docker image Frontend
id: build-push-front
Expand All @@ -56,6 +58,8 @@ jobs:
file: ./Dockerfile.front
push: true
tags: asia-southeast2-docker.pkg.dev/${{ github.repository }}/cloud-run-front:${{ env.IMAGE_VERSION }}
cache-from: asia-southeast2-docker.pkg.dev/${{ github.repository }}/cloud-run-front:${{ env.IMAGE_VERSION }}
cache-to: asia-southeast2-docker.pkg.dev/${{ github.repository }}/cloud-run-front:${{ env.IMAGE_VERSION }},mode=max

- name: Deploy to Cloud Run Backend
id: deploy-cloud-run-back
Expand Down

0 comments on commit 82de4c2

Please sign in to comment.