2023-04-28 13:40:24 -04:00
|
|
|
#!/bin/bash
|
2023-05-10 14:42:48 -04:00
|
|
|
|
|
|
|
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
|