From b1e21bf238fc684135156ad04364b66d11e54dd4 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 22 Oct 2020 17:54:49 +0100 Subject: [PATCH] . --- .drone/deploy.sh | 2 +- .drone/scripts/initialise-images.sh | 4 +++- docker-compose.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.drone/deploy.sh b/.drone/deploy.sh index 77b3038..86d5317 100644 --- a/.drone/deploy.sh +++ b/.drone/deploy.sh @@ -2,4 +2,4 @@ export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ \ && docker stack rm portainer \ && echo 'sleeping...60' \ && sleep 60 \ -&& docker stack deploy -c docker-compose.yml portainer +&& docker stack deploy -c docker-compose.yml portainer --with-registry-auth diff --git a/.drone/scripts/initialise-images.sh b/.drone/scripts/initialise-images.sh index 20aa41b..dc99be1 100644 --- a/.drone/scripts/initialise-images.sh +++ b/.drone/scripts/initialise-images.sh @@ -4,4 +4,6 @@ sh $(dirname $0)/login.sh $1 "$2" \ sigyl.stack.portainer_portainer/portainer-ce:2.0.0-alpine \ && sh $(dirname $0)/initialise-image.sh $1 \ portainer/agent:2.0.0@sha256:8f994457bc32480bff351f0b1d371557238e69f5902037addfe76fa7bd930b9d \ - sigyl.stack.portainer_portainer/agent:2.0.0 + thisone + + #sigyl.stack.portainer_portainer/agent:2.0.0 diff --git a/docker-compose.yml b/docker-compose.yml index edd1474..d49c8ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,8 @@ services: - appnet - externalnet portainer-agent: - image: ${LOCAL_DOCKER_REGISTRY}sigyl.stack.portainer_portainer/agent:2.0.0 + #image: ${LOCAL_DOCKER_REGISTRY}sigyl.stack.portainer_portainer/agent:2.0.0 + image: ${LOCAL_DOCKER_REGISTRY}thisone environment: # REQUIRED: Should be equal to the service name prefixed by "tasks." when # deployed inside an overlay network