Optimizing drone compiling
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Elias Jansson
2025-06-19 09:32:38 +02:00
parent 6cb2ebf3c8
commit 9f40b3f8a0
3 changed files with 37 additions and 22 deletions

View File

@@ -3,25 +3,25 @@ type: docker
name: default
steps:
- name: build-dotnet
image: alpine
commands:
- echo "Docker build will handle dotnet publish"
- name: build-docker
image: plugins/docker
settings:
registry: 192.168.1.9:3000
repo: 192.168.1.9:3000/tai/aberwyn/aberwyn
username:
from_secret: gitea_username
password:
from_secret: gitea_token
dockerfile: Aberwyn/Dockerfile
context: .
tags:
- latest
- ${DRONE_COMMIT_SHA:0:7}
cache_from:
- 192.168.1.9:3000/tai/aberwyn/aberwyn:latest
insecure: true
- name: build-docker
image: plugins/docker
settings:
registry: 192.168.1.9:3000
repo: 192.168.1.9:3000/tai/aberwyn/aberwyn
username:
from_secret: gitea_username
password:
from_secret: gitea_token
dockerfile: Aberwyn/Dockerfile
context: .
tags:
- latest
insecure: true
- name: restart-unraid-container
image: appleboy/drone-ssh