Skip to content

Commit

Permalink
Update google-cloudrun-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
furkmak authored Oct 15, 2024
1 parent 32e2bb8 commit b82a977
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 @@ -33,20 +33,20 @@ jobs:
# Build the Docker image
- name: Build Docker image
run: |
DOCKER_TAG="us-west1-docker.pkg.dev/legalqaapp/legalappgh/legalappgh:${{ github.sha }}"
DOCKER_TAG="us-west1-docker.pkg.dev/legalqaapp/legalappgh2/legalappgh2:${{ github.sha }}"
docker build -t "${DOCKER_TAG}" .
# Push the Docker image to Google Artifact Registry
- name: Push Docker image to Artifact Registry
run: |
DOCKER_TAG="us-west1-docker.pkg.dev/legalqaapp/legalappgh/legalappgh:${{ github.sha }}"
DOCKER_TAG="us-west1-docker.pkg.dev/legalqaapp/legalappgh2/legalappgh2:${{ github.sha }}"
docker push "${DOCKER_TAG}"
# Deploy the Docker image to Google Cloud Run
- name: Deploy to Cloud Run
run: |
gcloud run deploy legalappgh \
--image us-west1-docker.pkg.dev/legalqaapp/legalappgh/legalappgh:${{ github.sha }} \
--image us-west1-docker.pkg.dev/legalqaapp/legalappgh2/legalappgh2:${{ github.sha }} \
--platform managed \
--region us-west1 \
--allow-unauthenticated \
Expand Down

0 comments on commit b82a977

Please sign in to comment.