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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
access_key_idThe HUAWEI access key idyes
secret_access_keyThe HUAWEI secret access keyyes
swr_registryThe HUAWEI SWR Registryyes
repoName of your SWR repositoryyes
regionThe HUAWEI regionyesla-south-2
tagsComma-separated string of SWR image tagsnolatest
scan_imagesSet this to true so you allow the repository to scan newly upload imagesnotrue
dockerfileName of Dockerfile to usenoDockerfile
extra_build_argsExtra flags to pass to docker build (see docs.docker.com/engine/reference/commandline/build)no""
pathPath to Dockerfile, defaults to the working directoryno.
prebuild_scriptRelative path from top-level to script to run before Docker buildno
behaviorBuilds or just upload a previously build imageyesbuild
image_nameBuilds or just upload a previously build imageno
huawei_userUser Service Acountyes
huawei_passwordPassword Service Acountyes
huawei_domainDomain Service Acountyes
enpoint_tokenRequest address for calling token APIyesiam.myhuaweicloud.com
enpoint_swrRequest address for calling swr APIyesswr-api.la-south-2.myhuaweicloud.com
swr_namespaceYour swr organization nameyessmu-chile
swr_reposYour swr image repository name.yes
namedescription
imageThe created image name