debug: add env diagnostics before docker login
Some checks failed
CI/CD Pipeline / build-and-deploy (push) Failing after 1s
Some checks failed
CI/CD Pipeline / build-and-deploy (push) Failing after 1s
This commit is contained in:
parent
9fe4e7ee78
commit
0f9c67a3b1
1 changed files with 11 additions and 1 deletions
|
|
@ -35,7 +35,17 @@ jobs:
|
|||
run: docker compose down
|
||||
|
||||
- name: Login to Gitea Container Registry
|
||||
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login http://192.168.8.174:3000 -u "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
run: |
|
||||
echo "=== whoami: $(whoami) ==="
|
||||
echo "=== HOME: $HOME ==="
|
||||
echo "=== DOCKER_HOST: ${DOCKER_HOST:-unset} ==="
|
||||
echo "=== docker version ==="
|
||||
docker --version
|
||||
echo "=== docker info insecure ==="
|
||||
docker info 2>&1 | grep -A3 Insecure || echo "no insecure info"
|
||||
echo "=== attempting login ==="
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login http://192.168.8.174:3000 -u "${{ secrets.REGISTRY_USER }}" --password-stdin 2>&1
|
||||
echo "=== exit code: $? ==="
|
||||
|
||||
- name: Push image to registry
|
||||
run: docker push 192.168.8.174:3000/vrubel/t2s-telegram-bot:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue