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 a4775bf commit 70b1e6f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker_push_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
scopes: 'https://www.googleapis.com/auth/cloud-platform'

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

Expand All @@ -56,6 +55,10 @@ jobs:
run: |
docker build -t ${{ env.IMAGE_NAME }} -f ./src/backend/Dockerfile .
- name: Tag Docker image
run: |
docker tag ${{ env.IMAGE_NAME }} ${{ vars.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}
- name: Push Docker image
run: |
docker push ${{ env.IMAGE_NAME }}
docker push ${{ vars.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}

0 comments on commit 70b1e6f

Please sign in to comment.