From 8dbc7622b4724a0dad2161dfb8ea73fd9fa9110f Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sun, 8 Sep 2024 16:44:29 +0200 Subject: [PATCH] Gitea 1.21.1->1.22.2 --- .github/workflows/images.yaml | 11 +++++++++++ git-source/base/kustomization.yaml | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index 5c6babc..baff5d1 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -69,6 +69,17 @@ jobs: run: | TAG_BUILDKIT=${{ steps.imageBuildkitTag.outputs.result }} crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT + - + name: Get gitea image tag + id: imageGiteaTag + uses: mikefarah/yq@v4.44.1 + with: + cmd: yq '.images[0].newTag' git-source/base/kustomization.yaml + - + name: Mirror gitea image from hub + run: | + TAG_GITEA=${{ steps.imageGiteaTag.outputs.result }} + crane cp docker.io/gitea/gitea:$TAG_GITEA ghcr.io/yolean/gitea:$TAG_GITEA - name: Get grafana image tag id: imageGrafanaTag diff --git a/git-source/base/kustomization.yaml b/git-source/base/kustomization.yaml index c20e5b8..a7dba64 100644 --- a/git-source/base/kustomization.yaml +++ b/git-source/base/kustomization.yaml @@ -7,5 +7,5 @@ resources: - gitea-statefulset.yaml images: - name: gitea/gitea - newName: docker.io/gitea/gitea - newTag: 1.21.10@sha256:8e43a60b211bf01f7819ff6be8bf4f48081086b02098a5d8152d12a6339d1eb3 + newName: ghcr.io/yolean/gitea + newTag: 1.22.2@sha256:f4740095d43d8af73ac5d96eec83d4a795023f221aa3de854455c43e86c1b06b