diff --git a/.gitea/workflows/deploy-customer-main.yml b/.gitea/workflows/deploy-customer-main.yml index 5fdf328..7bcd0c6 100644 --- a/.gitea/workflows/deploy-customer-main.yml +++ b/.gitea/workflows/deploy-customer-main.yml @@ -57,8 +57,8 @@ jobs: run: | set -euo pipefail - registry_user="${REGISTRY_USER:-${REGISTRY_USERNAME:-${GITHUB_ACTOR:-}}}" - registry_password="${REGISTRY_TOKEN:-${REGISTRY_PASSWORD:-${GITEA_TOKEN:-}}}" + registry_user="${REGISTRY_USERNAME:-${REGISTRY_USER:-${GITHUB_ACTOR:-}}}" + registry_password="${REGISTRY_PASSWORD:-${REGISTRY_TOKEN:-${GITEA_TOKEN:-}}}" home_dir="${HOME:-/root}" if [ -z "${registry_user}" ]; then @@ -98,8 +98,8 @@ jobs: run: | set -euo pipefail - registry_user="${REGISTRY_USER:-${REGISTRY_USERNAME:-${GITHUB_ACTOR:-}}}" - registry_password="${REGISTRY_TOKEN:-${REGISTRY_PASSWORD:-${GITEA_TOKEN:-}}}" + registry_user="${REGISTRY_USERNAME:-${REGISTRY_USER:-${GITHUB_ACTOR:-}}}" + registry_password="${REGISTRY_PASSWORD:-${REGISTRY_TOKEN:-${GITEA_TOKEN:-}}}" sha_short="$(printf '%s' "${GITHUB_SHA}" | cut -c1-12)" registry_path="${CUSTOMER_REGISTRY_HOST}/${CUSTOMER_REGISTRY_NAMESPACE}" web_ref="${registry_path}/${CUSTOMER_WEB_IMAGE}"