The token may only read, so it cannot clean the remote cache
error: the token may only read from the remote cache at https://cache.example.com, so it can't remove entrieshint: Use a token whose access is rw, such as the one CI uploads with.Why it happens
Section titled “Why it happens”axle cache clean --remote asked axle-server to remove entries, and the server answered 403: the token is one that may only read, such as a dev:r:… token in AXLE_SERVER_TOKENS. Removing entries takes the same access as uploading them.
How to fix it
Section titled “How to fix it”Run it with a token whose access is rw:
AXLE_REMOTE_CACHE_TOKEN="$CI_TOKEN" axle cache clean --remoteOr log in with one first with axle login.