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 5a64b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sync-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +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 }}
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 .
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 5a64b0a

Please sign in to comment.