90dccbf1ae
Signed-off-by: T-Hax <>
17 lines
382 B
Bash
17 lines
382 B
Bash
#!/bin/bash
|
|
|
|
REGISTRY_1_USER="user"
|
|
REGISTRY_1_DOMAIN="domain.com"
|
|
REGISTRY_1_GITEA_AUTH="0000000000000000000000000000000000000000"
|
|
|
|
REGISTRY_2_USER=
|
|
REGISTRY_2_DOMAIN=
|
|
REGISTRY_2_GITEA_AUTH=
|
|
|
|
# And so on...
|
|
|
|
# And then you set it, example:
|
|
|
|
export TARGET_REGISTRY_USER=$REGISTRY_1_USER
|
|
export TARGET_REGISTRY_DOMAIN=$REGISTRY_1_DOMAIN
|
|
export GITEA_AUTH_TOKEN=$REGISTRY_1_GITEA_AUTH |