Skip to content

Move to sh file

Move to sh file #40

Workflow file for this run

on:
push:
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Login to target registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.22'
- name: Sync registry.k8s.io to ghcr.io/canonical
run: |
curl -L https://github.com/regclient/regclient/releases/download/v0.6.1/regsync-linux-amd64 -o regsync
chmod +x regsync
./regsync version
./regsync once -c build-scripts/hack/regsync.yaml
ls -la