Skip to content

Commit

Permalink
grafana 10.2.3->11.1.4 + mirror images
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Aug 27, 2024
1 parent e351ad3 commit 9bb4c37
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,25 @@ jobs:
run: |
TAG_BUILDKIT=${{ steps.imageBuildkitTag.outputs.result }}
crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT
-
name: Get grafana image tag
id: imageGrafanaTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[0].newTag' monitoring/grafana/kustomization.yaml
-
name: Mirror grafana image from hub
run: |
TAG_GRAFANA=${{ steps.imageGrafanaTag.outputs.result }}
crane cp docker.io/grafana/grafana:$TAG_GRAFANA ghcr.io/yolean/grafana:$TAG_GRAFANA
-
name: Get grafana-image-renderer image tag
id: imageGrafanaImageRendererTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[1].newTag' monitoring/grafana/kustomization.yaml
-
name: Mirror grafana-image-renderer image from hub
run: |
TAG_GRAFANAIMG=${{ steps.imageGrafanaImageRendererTag.outputs.result }}
crane cp docker.io/grafana/grafana-image-renderer:$TAG_GRAFANAIMG ghcr.io/yolean/grafana-image-renderer:$TAG_GRAFANAIMG
8 changes: 4 additions & 4 deletions monitoring/grafana/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ namespace: monitoring

images:
- name: grafana/grafana
newName: docker.io/grafana/grafana
newTag: 10.2.3-ubuntu@sha256:d292a458726385a81fcf71c8fd4a67b6976f527585fc82cb6e24825d01c5797a
newName: ghcr.io/yolean/grafana
newTag: 11.1.4-ubuntu@sha256:8e74fb7eed4d59fb5595acd0576c21411167f6b6401426ae29f2e8f9f71b68f6
- name: grafana/grafana-image-renderer
newName: docker.io/grafana/grafana-image-renderer
newTag: 3.9.0@sha256:656ca4dddc020f067239428e2a15bc7100d8ce4918db1618b45d53d0c8c4d273
newName: ghcr.io/yolean/grafana-image-renderer
newTag: 3.11.3@sha256:6de5a28a29328f972ed538b6172f07b2ff9204ee76c7f0bf32fd6da1d60956d4

resources:
- grafana-service.yaml
Expand Down

0 comments on commit 9bb4c37

Please sign in to comment.