diff --git a/.gitea/workflows/create-image.yaml b/.gitea/workflows/create-image.yaml index be56238..a805023 100644 --- a/.gitea/workflows/create-image.yaml +++ b/.gitea/workflows/create-image.yaml @@ -86,14 +86,14 @@ jobs: # Try with verbose curl first to see the full auth flow echo "=== Testing /v2/ endpoint with auth ===" - curl -u "${PIPELINES_USERNAME}:${REGISTRY_TOKEN}" -v "https://${{ env.DOCKER_REGISTRY_DOMAIN }}/v2/" 2>&1 || true + curl -u "${PIPELINES_USERNAME}:${PIPELINES_PASSWORD}" -v "https://${{ env.DOCKER_REGISTRY_DOMAIN }}/v2/" 2>&1 || true echo "" echo "=== Enable Docker CLI debug ===" export DOCKER_CLI_DEBUG=1 echo "=== Now attempting Docker login ===" - timeout 120 bash -c "echo '${REGISTRY_TOKEN}' | docker --debug login '${{ env.DOCKER_REGISTRY_DOMAIN }}' -u '${PIPELINES_USERNAME}' --password-stdin 2>&1" || { + timeout 120 bash -c "echo '${PIPELINES_PASSWORD}' | docker --debug login '${{ env.DOCKER_REGISTRY_DOMAIN }}' -u '${PIPELINES_USERNAME}' --password-stdin 2>&1" || { EXIT_CODE=$? echo "Docker login failed with exit code: $EXIT_CODE" if [ $EXIT_CODE -eq 124 ]; then