Skip to content

Commit

Permalink
Use setup go
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed May 24, 2024
1 parent d91f455 commit a2b31b4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sync-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit a2b31b4

Please sign in to comment.