-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
We can change Docker registry by REPO in docker-compose.yml but Archery doesn't recognize it.
Use case:
arrow/.github/workflows/cpp_extra.yml
Line 189 in 0c8ce5f
| REPO: ghcr.io/${{ github.repository }}-dev |
arrow/.github/workflows/cpp_extra.yml
Lines 217 to 226 in 0c8ce5f
| - name: Docker Push | |
| if: >- | |
| success() && | |
| github.event_name == 'push' && | |
| github.ref_name == 'main' | |
| env: | |
| ARCHERY_DOCKER_USER: ${{ github.actor }} | |
| ARCHERY_DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
| continue-on-error: true | |
| run: archery docker push cpp-jni |
https://github.com/apache/arrow/actions/runs/18445566748/job/52551782069#step:7:19
Error response from daemon: Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password
Traceback (most recent call last):
File "/home/runner/work/arrow/arrow/dev/archery/archery/docker/core.py", line 229, in _execute_docker
result = Docker().run(*args, **kwargs)
File "/home/runner/work/arrow/arrow/dev/archery/archery/utils/command.py", line 78, in run
return subprocess.run(invocation, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'login', '-u', 'kou', '-p', '***']' returned non-zero exit status 1.
Component(s)
Archery