Open Jack12816 opened 7 years ago
Temporary workaround:
REGISTRY_CLI_USERNAME
and REGISTRY_CLI_PASSWORD
with the user credentials to the CI/CD secret variables of the projectcleanup:
image:
name: jack12816/plankton
entrypoint: ["/bin/sh", "-c"]
stage: cleanup
variables:
REGISTRY_CLI_HOSTNAME: your.registry.tld
script: plankton cleanup --keep 3 --no-confirm apps/fancy
Mind the missing user credential variables on the job definiton.
Looks like the Gitlab CI token is not permitted to delete images.