feat: add a post-registry-login trigger

This allows other plugins to execute commands after a registry has been authenticated against.
This commit is contained in:
Jose Diaz-Gonzalez
2024-01-18 22:25:23 -05:00
parent d89e2ba2bb
commit 98d0a95ae6
3 changed files with 33 additions and 0 deletions

View File

@@ -1757,6 +1757,20 @@ APP="$1"
haproxy-build-config "$APP"
```
### `post-registry-login`
- Description: Allows running a command after the a registry has been logged into
- Invoked by: `dokku registry:login`
- Arguments: `$DOCKER_REGISTRY_SERVER $DOCKER_REGISTRY_USER`
- Example:
```shell
#!/usr/bin/env bash
# the DOCKER_REGISTRY_PASS env var is also set
echo "$DOCKER_REGISTRY_PASS"
```
### `post-release-builder`
> [!WARNING]