diff --git a/.drone.yml b/.drone.yml index aa6b240..020e04c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,11 +3,10 @@ type: docker name: default steps: -- name: build-dotnet - image: alpine - commands: - - echo "Docker build will handle dotnet publish" - + - name: build-dotnet + image: alpine + commands: + - echo "Docker build will handle dotnet publish" - name: build-docker image: plugins/docker @@ -24,27 +23,27 @@ steps: - latest insecure: true -- 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 run -d \ - --name='Aberwyn' \ - --net='br0' \ - -e TZ='Europe/Berlin' \ - -p 80:80 \ - -v aberwyn_config:/app/infrastructure \ - 192.168.1.9:3000/tai/aberwyn/aberwyn:latest + - 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 run -d \ + --name='Aberwyn' \ + --net='br0' \ + -e TZ='Europe/Berlin' \ + -p 80:80 \ + -v aberwyn_config:/app/infrastructure \ + 192.168.1.9:3000/tai/aberwyn/aberwyn:latest - name: notify-result image: alpine