Skip to content

Commit

Permalink
Update google-cloudrun-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger13579 authored Apr 23, 2024
1 parent b239030 commit 7e48b77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/google-cloudrun-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ jobs:

- name: Build and Push Container
run: |-
docker build -t "${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:${{ github.sha }}" ./
docker push "${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:${{ github.sha }}"
docker build -t "${{ env.GAR_LOCATION }}:${{ github.sha }}" ./
docker push "${{ env.GAR_LOCATION }}:${{ github.sha }}"
# END - Docker auth and build

Expand All @@ -106,7 +106,7 @@ jobs:
service: ${{ env.SERVICE }}
region: ${{ env.REGION }}
# NOTE: If using a pre-built image, update the image name here
image: ${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.SERVICE }}/${{ env.SERVICE }}:${{ github.sha }}
image: ${{ env.GAR_LOCATION }}:${{ github.sha }}

# If required, use the Cloud Run url output in later steps
- name: Show Output
Expand Down

0 comments on commit 7e48b77

Please sign in to comment.