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

This commit is contained in:
Adrian Miesikowski 2026-02-10 14:28:00 +01:00
parent 59da6d7f9e
commit a02add2025

View File

@ -51,8 +51,15 @@ jobs:
run: |
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)
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login registry.szmyt151.pl -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin
docker pull registry.szmyt151.pl/registryuser/sztucznainteligencjadlafirm:latest
docker restart sztucznainteligencjadlafirm || true
docker logout registry.szmyt151.pl
echo "Container restarted successfully"