Add container verification and fix registry auth in deploy
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 28s

This commit is contained in:
Adrian Miesikowski 2026-02-10 14:28:01 +01:00
parent c3c0d18217
commit ed95e6f0ad

View File

@ -51,8 +51,15 @@ jobs:
run: | run: |
docker logout registry.szmyt151.pl || true docker logout registry.szmyt151.pl || true
- name: List all containers (verify access)
run: |
echo "=== All containers on host ==="
docker ps -a
- name: Deploy (reload container) - name: Deploy (reload container)
run: | run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login registry.szmyt151.pl -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin
docker pull registry.szmyt151.pl/registryuser/aiagentdlafirm:latest docker pull registry.szmyt151.pl/registryuser/aiagentdlafirm:latest
docker restart aiagentdlafirm || true docker restart aiagentdlafirm || true
docker logout registry.szmyt151.pl
echo "Container restarted successfully" echo "Container restarted successfully"