Skip to content

Use current dir in config file path #55

Use current dir in config file path

Use current dir in config file path #55

Workflow file for this run

on:
push:
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to ghcr.io/canonical
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Sync registry.k8s.io to ghcr.io/canonical
env:
DEST_CREDS: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
run: |
${GITHUB_WORKSPACE}/build-scripts/hack/sync-registry.sh