diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 710bef0..963c74d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,10 +11,11 @@ jobs: runs-on: ubuntu-latest env: REGISTRY: ghcr.io - IMAGE: "${{ github.repository }}:${{ github.sha }}" + IMAGE: "ghcr.io/${{ github.repository }}:${{ github.sha }}" # このリポジトリに対する書き込み権限を付与 permissions: contents: write + packages: write steps: - name: Checkout diff --git a/k8s/syncing/citbot.yaml b/k8s/syncing/citbot.yaml index 5be2221..1b3a9a0 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 @@ -27,8 +27,6 @@ spec: volumeMounts: - mountPath: "/mnt/data" name: data - imagePullSecrets: - - name: gitlab-nsslums-citbot volumes: - name: data persistentVolumeClaim: