Skip to content

Commit

Permalink
Move to sh file
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed May 22, 2024
1 parent df5fcc6 commit 3973eca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sync-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ 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 }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
regsync once --config ${GITHUB_WORKSPACE}/build-scripts/hack/sync-registry.yaml
go install github.com/regclient/regclient/cmd/regsync@latest
cp ${GITHUB_WORKSPACE}/build-scripts/hack/sync-registry.yaml .
echo $(which regsync)
regsync once --config ./sync-registry.yaml
1 change: 1 addition & 0 deletions build-scripts/hack/sync-registry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
regsync once --config ./sync-registry.yaml

0 comments on commit 3973eca

Please sign in to comment.