From 41cac25e421593d18cb0d895205713cc71c6d3c5 Mon Sep 17 00:00:00 2001 From: irumaru Date: Mon, 24 Jun 2024 19:37:14 +0000 Subject: [PATCH 1/4] Fix container registry --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 710bef0..2ed2cc0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest env: REGISTRY: ghcr.io - IMAGE: "${{ github.repository }}:${{ github.sha }}" + IMAGE: "ghcr.io/${{ github.repository }}:${{ github.sha }}" # このリポジトリに対する書き込み権限を付与 permissions: contents: write From 1ba3478c1cc0b87253b737b9efd11580736d8a50 Mon Sep 17 00:00:00 2001 From: irumaru Date: Mon, 24 Jun 2024 19:41:14 +0000 Subject: [PATCH 2/4] Fix workflows permissions --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2ed2cc0..963c74d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,6 +15,7 @@ jobs: # このリポジトリに対する書き込み権限を付与 permissions: contents: write + packages: write steps: - name: Checkout From 431d119f29b44984b9c18bab9d2b77006a91a579 Mon Sep 17 00:00:00 2001 From: irumaru Date: Mon, 24 Jun 2024 19:42:17 +0000 Subject: [PATCH 3/4] Apply automatic changes --- k8s/syncing/citbot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/syncing/citbot.yaml b/k8s/syncing/citbot.yaml index 5be2221..26beef3 100644 --- a/k8s/syncing/citbot.yaml +++ b/k8s/syncing/citbot.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: citbot - image: "gitlab-registry.maruru.me/nsslums/cit-bot:ee9ab4cb27084240cc964ce5b9fac7d663c5dc40" + image: "ghcr.io/nsslums/cit-bot:1ba3478c1cc0b87253b737b9efd11580736d8a50" env: # auth - name: TOKEN From b6af225e51e23d797a8f79458d281b9689807788 Mon Sep 17 00:00:00 2001 From: irumaru Date: Mon, 24 Jun 2024 19:43:09 +0000 Subject: [PATCH 4/4] Fix ImagePullSecret --- k8s/syncing/citbot.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/k8s/syncing/citbot.yaml b/k8s/syncing/citbot.yaml index 26beef3..1b3a9a0 100644 --- a/k8s/syncing/citbot.yaml +++ b/k8s/syncing/citbot.yaml @@ -27,8 +27,6 @@ spec: volumeMounts: - mountPath: "/mnt/data" name: data - imagePullSecrets: - - name: gitlab-nsslums-citbot volumes: - name: data persistentVolumeClaim: