Manage OCI containers on a Forgejo instance
- Shell 100%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| testdata/upload-download | ||
| .gitignore | ||
| action.yml | ||
| forgejo-container-image.sh | ||
| LICENSE | ||
| README.md | ||
forgejo-container-image
Description
Copy Forgejo container images from an organization to another.
It must be run from a host supporting with access to Qemu emulation.
Example:
- uses: actions/forgejo-container-image@v1
with:
destination-owner: forgejo-experimental
project: forgejo
tag: v3.1.2-2
doer: release-team
token: ${{ secrets.RELEASETEAM_TOKEN }}
Inputs
| parameter | description | required | default |
|---|---|---|---|
| url | URL of the Forgejo instance (default to env.GITHUB_SERVER_URL) | false |
|
| owner | the owner to copy images from (default to the first part of github.repository) | false |
|
| project | the project to copy images from (default to the last part of github.repository) | false |
|
| destination-owner | the owner to copy images to | true |
|
| tag | Tag of the container image (default github.ref_name) | false |
|
| archs | Supported architectures | false |
amd64 arm64 |
| suffixes | Space separated list of suffixes of the images to copy | false |
-rootless |
| doer | Forgejo user that owns the token and authors the upload | true |
|
| token | Forgejo application token, with package scope (write, read, delete) | true |
|
| insecure | If true allows communication with an http/insecure Forgejo instance | false |
false |
| verbose | Increase the verbosity level | false |
false |