fix: Correct registry URL variable in build and deploy workflows
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s
Deploy to Server / deploy (push) Failing after 2s
Run Tests / test (push) Failing after 4m43s

This commit is contained in:
2025-10-23 17:44:15 +02:00
parent 0e51a3883d
commit 0acc2cb3fe
2 changed files with 3 additions and 3 deletions

View File

@@ -23,6 +23,6 @@ jobs:
with:
context: .
push: true
tags: ${{ secrets.REGISTRY_REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/calminer:latest
tags: ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USERNAME }}/calminer:latest
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@@ -15,7 +15,7 @@ jobs:
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
docker pull ${{ secrets.REGISTRY_REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/calminer:latest
docker pull ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USERNAME }}/calminer:latest
docker stop calminer || true
docker rm calminer || true
docker run -d --name calminer -p 8000:8000 ${{ secrets.REGISTRY_REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/calminer:latest
docker run -d --name calminer -p 8000:8000 ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USERNAME }}/calminer:latest