GitHub Action
skopeo-copy-action
v1.0.0
Latest version
Reference: Copying images
Copy image from src to dst.
Input parameter name | Description | Example |
---|---|---|
src-image | source image with tag to copy from | coseus.azurecr.io/platform:latest |
src-creds | credentials with format: [USERNAME]:[PASSWORD] to pull source image | username:password |
dst-image | destination image with tag to copy to | registry.cn-hangzhou.aliyuncs.com/coscene/platform:latest |
dst-creds | credentials with format: [USERNAME]:[PASSWORD] to push destination image | username:password |
- You MUST ensure that the content of the credentials
[USERNAME]:[PASSWORD]
DOES NOT contain any colons(:
) other than the separator one. Otherwise, it is likely that the registry will not be accessed correctly. Of course, we can extend thecred
parameters toregistry
,username
andpassword
to avoid this problem. But this increases the complexity of this action.