Skip to content

Commit

Permalink
Login to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed May 27, 2024
1 parent bda6def commit a510c42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/sync-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
- 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 }}
Expand Down

0 comments on commit a510c42

Please sign in to comment.