diff --git a/.github/workflows/sync-registry.yaml b/.github/workflows/sync-registry.yaml index 853fff014..d4d8bbfe7 100644 --- a/.github/workflows/sync-registry.yaml +++ b/.github/workflows/sync-registry.yaml @@ -8,6 +8,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '>=1.22.0' + + - run: go version + - name: Login to GHCR uses: docker/login-action@v2 with: @@ -17,4 +23,4 @@ jobs: - name: Sync registry.k8s.io to ghcr.io/canonical run: | - ${GITHUB_WORKSPACE}/build-scripts/hack/regsync.sh + cd ${GITHUB_WORKSPACE}/build-scripts/hack && ./regsync.sh