Fix: remove auto docker login that overwrites working credentials
All checks were successful
CI / test (push) Successful in 1m8s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-03-31 15:09:09 +04:00
parent 1be3cb82dc
commit 4dddf21f2f

View File

@@ -24,11 +24,7 @@ REGISTRY_HOST="${REGISTRY_HOST#https://}"
REGISTRY_HOST="${REGISTRY_HOST#http://}"
IMAGE="${REGISTRY_HOST}/manawenuz/btest-rs"
# Login
if [[ -n "${GITEA_TOKEN:-}" ]]; then
DOCKER_USER="${GITEA_USER:?Set GITEA_USER in .env}"
echo "${GITEA_TOKEN}" | docker login "${REGISTRY_HOST}" -u "${DOCKER_USER}" --password-stdin
fi
# NOTE: Run 'docker login git.manko.yoga' manually first if not authenticated
mkdir -p dist/docker-amd64 dist/docker-arm64