Update drone repo login data
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
2025-11-05 20:01:20 +01:00
parent 42b3ceff7c
commit 5c15d27900

View File

@@ -9,12 +9,17 @@ steps:
environment: environment:
REGISTRY_URL: REGISTRY_URL:
from_secret: REGISTRY_URL from_secret: REGISTRY_URL
DOCKER_USER:
from_secret: DOCKER_USER
DOCKER_PASS:
from_secret: DOCKER_PASS
volumes: volumes:
- name: docker_sock - name: docker_sock
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- | - |
echo "Building amd64 image..." echo "Building amd64 image..."
docker login $REGISTRY_URL -u "$DOCKER_USER" -p "$DOCKER_PASS"
docker buildx create --use docker buildx create --use
docker buildx build \ docker buildx build \
--platform linux/amd64 \ --platform linux/amd64 \
@@ -29,12 +34,17 @@ steps:
environment: environment:
REGISTRY_URL: REGISTRY_URL:
from_secret: REGISTRY_URL from_secret: REGISTRY_URL
DOCKER_USER:
from_secret: DOCKER_USER
DOCKER_PASS:
from_secret: DOCKER_PASS
volumes: volumes:
- name: docker_sock - name: docker_sock
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- | - |
echo "Building arm64 image..." echo "Building arm64 image..."
docker login $REGISTRY_URL -u "$DOCKER_USER" -p "$DOCKER_PASS"
docker buildx create --use docker buildx create --use
docker buildx build \ docker buildx build \
--platform linux/arm64 \ --platform linux/arm64 \
@@ -49,12 +59,17 @@ steps:
environment: environment:
REGISTRY_URL: REGISTRY_URL:
from_secret: REGISTRY_URL from_secret: REGISTRY_URL
DOCKER_USER:
from_secret: DOCKER_USER
DOCKER_PASS:
from_secret: DOCKER_PASS
volumes: volumes:
- name: docker_sock - name: docker_sock
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- | - |
echo "Creating multi-arch manifest..." echo "Creating multi-arch manifest..."
docker login $REGISTRY_URL -u "$DOCKER_USER" -p "$DOCKER_PASS"
docker manifest create registry.buchhorster.de/portainer-agent-tailscale:latest \ docker manifest create registry.buchhorster.de/portainer-agent-tailscale:latest \
--amend registry.buchhorster.de/portainer-agent-tailscale:amd64 \ --amend registry.buchhorster.de/portainer-agent-tailscale:amd64 \
--amend registry.buchhorster.de/portainer-agent-tailscale:arm64 --amend registry.buchhorster.de/portainer-agent-tailscale:arm64