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
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 28s
This commit is contained in:
parent
c3c0d18217
commit
ed95e6f0ad
@ -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/aiagentdlafirm:latest
|
||||
docker restart aiagentdlafirm || true
|
||||
docker logout registry.szmyt151.pl
|
||||
echo "Container restarted successfully"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user