From df5fcc6ad37992f4c6fb19de78178703d13ff8bd Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Wed, 22 May 2024 17:38:01 -0400 Subject: [PATCH] fix username --- .github/workflows/sync-registry.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-registry.yaml b/.github/workflows/sync-registry.yaml index b9cdfda19..503ac07a5 100644 --- a/.github/workflows/sync-registry.yaml +++ b/.github/workflows/sync-registry.yaml @@ -13,10 +13,11 @@ jobs: with: go-version: '>=1.22' + - run: go install github.com/regclient/regclient/cmd/regsync@latest + - name: Sync registry.k8s.io to ghcr.io/canonical env: - USERNAME: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} + USERNAME: ${{ github.actor }} TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - go install github.com/regclient/regclient/cmd/regsync@latest regsync once --config ${GITHUB_WORKSPACE}/build-scripts/hack/sync-registry.yaml