docker login 192.168.1.9:3000 -u ${GITEA_USERNAME} -p ${GITEA_TOKEN}
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Elias Jansson
2025-06-19 11:07:46 +02:00
parent b1f20de393
commit e26a809122

View File

@@ -15,14 +15,14 @@ steps:
path: /var/run/docker.sock
commands:
- docker buildx create --use || true
- docker login 192.168.1.9:3000 -u $GITEA_USERNAME -p $GITEA_TOKEN
- docker login 192.168.1.9:3000 -u ${GITEA_USERNAME} -p ${GITEA_TOKEN}
- docker buildx build \
--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 \
--cache-to=type=registry,ref=192.168.1.9:3000/tai/aberwyn/aberwyn:buildcache,mode=max \
--push \
-f Aberwyn/Dockerfile .
-f Aberwyn/Dockerfile .
- name: restart-unraid-container
image: appleboy/drone-ssh