Skip to content

Commit 776ccb2

Browse files
Update deploy-cloud-run-grafana-prod.yaml
1 parent da4e0f1 commit 776ccb2

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/deploy-cloud-run-grafana-prod.yaml

+26-26
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,32 @@ jobs:
1818
with:
1919
credentials_json: ${{ secrets.GOOGLECLOUDSA_PROD }}
2020

21-
- uses: docker/setup-buildx-action@v3
22-
23-
- name: Cache Docker layers
24-
uses: actions/cache@v4
25-
with:
26-
path: /tmp/.buildx-cache
27-
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.sha }}
28-
restore-keys: ${{ runner.os }}-${{ github.workflow }}-
29-
30-
- run: gcloud auth configure-docker
31-
32-
- uses: docker/build-push-action@v5
33-
with:
34-
context: .
35-
push: true
36-
tags: gcr.io/coderabbitprod/grafana:latest
37-
cache-from: type=local,src=/tmp/.buildx-cache
38-
cache-to: type=local,dest=/tmp/.buildx-cache-new
39-
40-
- name: Move Docker cache
41-
run: |
42-
rm -rf /tmp/.buildx-cache
43-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
44-
45-
- name: Deploy to Cloud Run
46-
run: gcloud run deploy grafana-internal --image gcr.io/coderabbitprod/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbit-prod-connector
21+
# - uses: docker/setup-buildx-action@v3
22+
23+
# - name: Cache Docker layers
24+
# uses: actions/cache@v4
25+
# with:
26+
# path: /tmp/.buildx-cache
27+
# key: ${{ runner.os }}-${{ github.workflow }}-${{ github.sha }}
28+
# restore-keys: ${{ runner.os }}-${{ github.workflow }}-
29+
30+
# - run: gcloud auth configure-docker
31+
32+
# - uses: docker/build-push-action@v5
33+
# with:
34+
# context: .
35+
# push: true
36+
# tags: gcr.io/coderabbitprod/grafana:latest
37+
# cache-from: type=local,src=/tmp/.buildx-cache
38+
# cache-to: type=local,dest=/tmp/.buildx-cache-new
39+
40+
# - name: Move Docker cache
41+
# run: |
42+
# rm -rf /tmp/.buildx-cache
43+
# mv /tmp/.buildx-cache-new /tmp/.buildx-cache
44+
45+
# - name: Deploy to Cloud Run
46+
# run: gcloud run deploy grafana-internal --image gcr.io/coderabbitprod/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbit-prod-connector
4747

4848
- name: Trigger a repository dispatch
4949
run: |

0 commit comments

Comments
 (0)