smu-chile/HUAWEI SWR IMAGE UPLOAD WITH REPO AND POLICY
Create Docker images and push into a SWR repository. It can create it and attach a policy to store a max amount
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| access_key_id | The HUAWEI access key id | yes | — |
| secret_access_key | The HUAWEI secret access key | yes | — |
| swr_registry | The HUAWEI SWR Registry | yes | — |
| repo | Name of your SWR repository | yes | — |
| region | The HUAWEI region | yes | la-south-2 |
| tags | Comma-separated string of SWR image tags | no | latest |
| scan_images | Set this to true so you allow the repository to scan newly upload images | no | true |
| dockerfile | Name of Dockerfile to use | no | Dockerfile |
| extra_build_args | Extra flags to pass to docker build (see docs.docker.com/engine/reference/commandline/build) | no | "" |
| path | Path to Dockerfile, defaults to the working directory | no | . |
| prebuild_script | Relative path from top-level to script to run before Docker build | no | — |
| behavior | Builds or just upload a previously build image | yes | build |
| image_name | Builds or just upload a previously build image | no | — |
| huawei_user | User Service Acount | yes | — |
| huawei_password | Password Service Acount | yes | — |
| huawei_domain | Domain Service Acount | yes | — |
| enpoint_token | Request address for calling token API | yes | iam.myhuaweicloud.com |
| enpoint_swr | Request address for calling swr API | yes | swr-api.la-south-2.myhuaweicloud.com |
| swr_namespace | Your swr organization name | yes | smu-chile |
| swr_repos | Your swr image repository name. | yes | — |
Outputs
| name | description |
|---|---|
| image | The created image name |