diff --git a/.gitea/workflows/build-and-push.yml b/.gitea/workflows/build-and-push.yml index 7543b21..e60d51f 100644 --- a/.gitea/workflows/build-and-push.yml +++ b/.gitea/workflows/build-and-push.yml @@ -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 diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6b6e0aa..a872058 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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