Skip to content

Commit

Permalink
ok buddy
Browse files Browse the repository at this point in the history
  • Loading branch information
onlycs committed Jan 7, 2025
1 parent 3fe80a7 commit 2114435
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,14 @@ jobs:
username: oauth2accesstoken
password: ${{ steps.gcp-auth.outputs.access_token }}

- name: Push to GCR
uses: docker/build-push-action@v2
with:
context: .
file: /home/runner/work/attendance/attendance/src-api/Dockerfile
push: true
tags: |
us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/attendance/attendance:latest
onlycs/attendance:latest
- name: Build Docker image
run: |
docker build . -t onlycs/attendance:latest -t us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/attendance/attendance:latest
- name: Push Docker image
run: |
docker push us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/attendance/attendance:latest
docker push onlycs/attendance:latest
- name: Deploy to Cloud Run
run: |
Expand Down

0 comments on commit 2114435

Please sign in to comment.