Skip to content

Commit

Permalink
fix readme, have action copy to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Jul 23, 2021
1 parent 5146f70 commit 743562b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/use-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
- uses: actions/checkout@v2

- uses: imjasonh/setup-crane@main
- run: crane digest ubuntu
- run: |
crane digest ubuntu
crane manifest ubuntu | jq
crane copy ubuntu ghcr.io/${{ github.owner }}/${{ github.repo }}/ubuntu-copy
- name: Install old release
uses: imjasonh/setup-crane@main
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: |
crane digest ubuntu
crane manifest ubuntu | jq
crane copy ubuntu ghcr.io/${{ github.owner
crane copy ubuntu ghcr.io/${{ github.owner }}/${{ github.repo }}/ubuntu-copy
```
_That's it!_ This workflow will inspect and copy the `ubuntu` image to your repo's GitHub container registry namespace.
Expand Down

0 comments on commit 743562b

Please sign in to comment.