DRONE
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Elias Jansson
2025-06-03 23:12:15 +02:00
parent c4efcc249b
commit acbb72de3f

View File

@@ -3,11 +3,10 @@ type: docker
name: default name: default
steps: steps:
- name: build-dotnet - name: build-dotnet
image: alpine image: alpine
commands: commands:
- echo "Docker build will handle dotnet publish" - echo "Docker build will handle dotnet publish"
- name: build-docker - name: build-docker
image: plugins/docker image: plugins/docker
@@ -24,27 +23,27 @@ steps:
- latest - latest
insecure: true insecure: true
- name: restart-unraid-container - name: restart-unraid-container
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: 192.168.1.108 host: 192.168.1.108
port: 22 port: 22
username: username:
from_secret: unraid_ssh_user from_secret: unraid_ssh_user
key: key:
from_secret: unraid_ssh_private_key from_secret: unraid_ssh_private_key
script: script:
- docker pull 192.168.1.9:3000/tai/aberwyn/aberwyn:latest - docker pull 192.168.1.9:3000/tai/aberwyn/aberwyn:latest
- docker stop Aberwyn || true - docker stop Aberwyn || true
- docker rm Aberwyn || true - docker rm Aberwyn || true
- docker volume create aberwyn_config || true - docker volume create aberwyn_config || true
- docker run -d \ - docker run -d \
--name='Aberwyn' \ --name='Aberwyn' \
--net='br0' \ --net='br0' \
-e TZ='Europe/Berlin' \ -e TZ='Europe/Berlin' \
-p 80:80 \ -p 80:80 \
-v aberwyn_config:/app/infrastructure \ -v aberwyn_config:/app/infrastructure \
192.168.1.9:3000/tai/aberwyn/aberwyn:latest 192.168.1.9:3000/tai/aberwyn/aberwyn:latest
- name: notify-result - name: notify-result
image: alpine image: alpine