Skip to content

Commit d3b33cd

Browse files
authored
always test on prod
1 parent 5bed3c3 commit d3b33cd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/cloudrun.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ jobs:
3535
- id: build
3636
name: Build and Push Container
3737
run: |-
38-
docker build -t us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/authenticator/authenticator:${{ github.sha }} .
39-
docker push us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/authenticator/authenticator:${{ github.sha }}
38+
IMAGE="us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/authenticator/authenticator:${{ github.sha }}"
39+
docker build -t "$IMAGE" .
40+
docker push "$IMAGE"
41+
echo "image=$IMAGE" >> "$GITHUB_OUTPUT"
4042
4143
- name: Deploy to Cloud Run
4244
id: deploy

0 commit comments

Comments
 (0)