Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSmith committed Jun 12, 2024
1 parent aa5029c commit 9128d35
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/docker_push_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,19 @@ jobs:
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}

- name: Login
uses: google-github-actions/setup-gcloud@v0
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1
with:
project_id: ${{ vars.GCP_PROJECT_ID }}
export_default_credentials: true


- name: Authenticate Docker to Artifact Registry
run: gcloud auth configure-docker --quiet
- name: Configure Docker
run: gcloud auth configure-docker --quiet

- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -49,9 +53,9 @@ jobs:

- name: Build Docker image
run: |
docker build -t ${{ steps.meta.outputs.tags }} -f ./src/backend/Dockerfile .
docker build -t ${{ env.IMAGE_NAME }} -f ./src/backend/Dockerfile .
- name: Push Docker image
run: |
docker push ${{ steps.meta.outputs.tags }}
docker push ${{ env.IMAGE_NAME }}

0 comments on commit 9128d35

Please sign in to comment.