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

This commit is contained in:
Elias Jansson
2025-06-19 11:01:45 +02:00
parent c84699fd16
commit b1f20de393

View File

@@ -2,24 +2,27 @@ kind: pipeline
type: docker type: docker
name: default name: default
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
steps: steps:
- name: build-docker - name: docker-build
image: plugins/docker image: docker:24
settings: volumes:
registry: 192.168.1.9:3000 - name: dockersock
repo: 192.168.1.9:3000/tai/aberwyn/aberwyn path: /var/run/docker.sock
username: commands:
from_secret: gitea_username - docker buildx create --use || true
password: - docker login 192.168.1.9:3000 -u $GITEA_USERNAME -p $GITEA_TOKEN
from_secret: gitea_token - docker buildx build \
dockerfile: Aberwyn/Dockerfile --tag 192.168.1.9:3000/tai/aberwyn/aberwyn:latest \
context: . --tag 192.168.1.9:3000/tai/aberwyn/aberwyn:${DRONE_COMMIT_SHA:0:7} \
tags: --cache-from=type=registry,ref=192.168.1.9:3000/tai/aberwyn/aberwyn:buildcache \
- latest --cache-to=type=registry,ref=192.168.1.9:3000/tai/aberwyn/aberwyn:buildcache,mode=max \
- ${DRONE_COMMIT_SHA:0:7} --push \
cache_from: -f Aberwyn/Dockerfile .
- 192.168.1.9:3000/tai/aberwyn/aberwyn:latest
insecure: true
- name: restart-unraid-container - name: restart-unraid-container
image: appleboy/drone-ssh image: appleboy/drone-ssh