tag-multiarch-images is a GitHub Action that tags all untagged versions created by pushing a multi architecture image to the GHCR.
Tagging all untagged versions for an organization package:
steps:
- name: Tag
uses: jtaeuber/tag-multiarch-images@v0.1.0
with:
gh_token: ${{ secrets.YOUR_TOKEN }}
gh_user: your-org
package_name: your-package
tag: your-tagThis action uses crane manifest and crane copy commands in order to change the tags of your versions.
As a result, for this action to work, the token needs read:packages and write:packages permissions.
Required Secret access token with scopes packages:read and packages:write. See Creating a personal access token
for more details about GitHub access tokens.
Required Name of the user or organization owning the package.
Required Name of the package for which versions should be tagged.
Optional Boolean controlling whether to execute the action as a dry-run. When true the action will print out details of the version that will be tagged without actually tagging them. Defaults to false.