This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -20,8 +20,8 @@ steps:
|
|||||||
- |
|
- |
|
||||||
echo "=== Building amd64 image ==="
|
echo "=== Building amd64 image ==="
|
||||||
docker login "$REGISTRY_URL" -u "$DOCKER_USER" -p "$DOCKER_PASS"
|
docker login "$REGISTRY_URL" -u "$DOCKER_USER" -p "$DOCKER_PASS"
|
||||||
docker build -t $REGISTRY_URL/portainer-agent-tailscale:amd64 .
|
docker build -t $REGISTRY_URL/public/portainer-agent-tailscale:amd64 .
|
||||||
docker push $REGISTRY_URL/portainer-agent-tailscale:amd64
|
docker push $REGISTRY_URL/public/portainer-agent-tailscale:amd64
|
||||||
|
|
||||||
- name: build-arm64
|
- name: build-arm64
|
||||||
image: docker:26
|
image: docker:26
|
||||||
@@ -40,8 +40,8 @@ steps:
|
|||||||
- |
|
- |
|
||||||
echo "=== Building arm64 image ==="
|
echo "=== Building arm64 image ==="
|
||||||
docker login "$REGISTRY_URL" -u "$DOCKER_USER" -p "$DOCKER_PASS"
|
docker login "$REGISTRY_URL" -u "$DOCKER_USER" -p "$DOCKER_PASS"
|
||||||
docker build -t $REGISTRY_URL/portainer-agent-tailscale:arm64 .
|
docker build -t $REGISTRY_URL/public/portainer-agent-tailscale:arm64 .
|
||||||
docker push $REGISTRY_URL/portainer-agent-tailscale:arm64
|
docker push $REGISTRY_URL/public/portainer-agent-tailscale:arm64
|
||||||
|
|
||||||
- name: create-manifest
|
- name: create-manifest
|
||||||
image: docker:26
|
image: docker:26
|
||||||
@@ -60,10 +60,10 @@ steps:
|
|||||||
- |
|
- |
|
||||||
echo "=== Creating multi-arch manifest ==="
|
echo "=== Creating multi-arch manifest ==="
|
||||||
docker login "$REGISTRY_URL" -u "$DOCKER_USER" -p "$DOCKER_PASS"
|
docker login "$REGISTRY_URL" -u "$DOCKER_USER" -p "$DOCKER_PASS"
|
||||||
docker manifest create $REGISTRY_URL/portainer-agent-tailscale:latest \
|
docker manifest create $REGISTRY_URL/public/portainer-agent-tailscale:latest \
|
||||||
--amend $REGISTRY_URL/portainer-agent-tailscale:amd64 \
|
--amend $REGISTRY_URL/public/portainer-agent-tailscale:amd64 \
|
||||||
--amend $REGISTRY_URL/portainer-agent-tailscale:arm64
|
--amend $REGISTRY_URL/public/portainer-agent-tailscale:arm64
|
||||||
docker manifest push $REGISTRY_URL/portainer-agent-tailscale:latest
|
docker manifest push $REGISTRY_URL/public/portainer-agent-tailscale:latest
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
|
|||||||
Reference in New Issue
Block a user