diff --git a/README.md b/README.md index 6ed7b9e..92b6489 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,42 @@ Number of days. Tags older than these many days will be deleted. Default is "2". dry_run: 'true' days: '7' ``` + +## Manual run: + +Assuming you have +[doctl installed](https://docs.digitalocean.com/reference/doctl/) and +authenticated with your user, you can run the following commands: + +```bash +doctl registry login --expiry-seconds 1200 +``` + +For help on the script: + +```bash +./entrypoint.sh -h +``` + +To run the script in dry-run mode: + +```bash +./entrypoint.sh -d -n +``` + +To run the script: + +```bash +./entrypoint.sh -n +``` + +example: + +```bash +./entrypoint.sh -n 1 myapp +``` + +## License + +Software: The software as it is licensed under the [MIT](LICENSE) License, +please feel free to extend, re-use, share the code.