Skip to content

Commit

Permalink
Update deploy-cloud-run-grafana-prod.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dikshant-infracloud authored Sep 6, 2024
1 parent f69ec4e commit 2710396
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy-cloud-run-grafana-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:

- uses: docker/setup-buildx-action@v3

- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ github.workflow }}-
# - name: Cache Docker layers
# uses: actions/cache@v4
# with:
# path: /tmp/.buildx-cache
# key: ${{ runner.os }}-${{ github.workflow }}-${{ github.sha }}
# restore-keys: ${{ runner.os }}-${{ github.workflow }}-

- run: gcloud auth configure-docker

Expand All @@ -34,13 +34,13 @@ jobs:
context: .
push: true
tags: gcr.io/coderabbitprod/grafana:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
# cache-from: type=local,src=/tmp/.buildx-cache
# cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Move Docker cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
# - name: Move Docker cache
# run: |
# rm -rf /tmp/.buildx-cache
# mv /tmp/.buildx-cache-new /tmp/.buildx-cache

# - name: Deploy to Cloud Run
# run: gcloud run deploy grafana-internal --image gcr.io/coderabbitprod/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbit-prod-connector
Expand Down

0 comments on commit 2710396

Please sign in to comment.