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 bbc96b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sync-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:

- run: go install github.com/regclient/regclient/cmd/regsync@latest

- run: echo "$GOPATH/bin" >> $GITHUB_PATH

- 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
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 bbc96b0

Please sign in to comment.