diff --git a/.drone.yml b/.drone.yml index 6718eb9..d44122b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,23 +24,6 @@ steps: - echo "$GITEA_TOKEN" | docker login 192.168.1.9:3000 -u "$GITEA_USERNAME" --password-stdin - docker buildx build --builder default --tag 192.168.1.9:3000/tai/aberwyn/aberwyn:latest --tag 192.168.1.9:3000/tai/aberwyn/aberwyn:${DRONE_COMMIT_SHA:0:7} --cache-from=type=registry,ref=192.168.1.9:3000/tai/aberwyn/aberwyn:buildcache --push -f Aberwyn/Dockerfile . - - name: restart-unraid-container - image: appleboy/drone-ssh - settings: - host: 192.168.1.108 - port: 22 - username: - from_secret: unraid_ssh_user - key: - from_secret: unraid_ssh_private_key - script: - - docker pull 192.168.1.9:3000/tai/aberwyn/aberwyn:latest - - docker stop aberwyn || true - - docker rm aberwyn || true - - docker volume create aberwyn_config || true - - docker volume create aberwyn_keys || true - - docker run -d --name=aberwyn --net=br0 -e TZ=Europe/Berlin -p 80:80 -v aberwyn_config:/app/infrastructure -v aberwyn_keys:/root/.aspnet/DataProtection-Keys 192.168.1.9:3000/tai/aberwyn/aberwyn:latest - - name: notify-result image: alpine when: