.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-10-22 17:54:49 +01:00
parent 5f2379b9ab
commit b1e21bf238
3 changed files with 6 additions and 3 deletions

View File

@ -2,4 +2,4 @@ export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ \
&& docker stack rm portainer \ && docker stack rm portainer \
&& echo 'sleeping...60' \ && echo 'sleeping...60' \
&& sleep 60 \ && sleep 60 \
&& docker stack deploy -c docker-compose.yml portainer && docker stack deploy -c docker-compose.yml portainer --with-registry-auth

View File

@ -4,4 +4,6 @@ sh $(dirname $0)/login.sh $1 "$2" \
sigyl.stack.portainer_portainer/portainer-ce:2.0.0-alpine \ sigyl.stack.portainer_portainer/portainer-ce:2.0.0-alpine \
&& sh $(dirname $0)/initialise-image.sh $1 \ && sh $(dirname $0)/initialise-image.sh $1 \
portainer/agent:2.0.0@sha256:8f994457bc32480bff351f0b1d371557238e69f5902037addfe76fa7bd930b9d \ portainer/agent:2.0.0@sha256:8f994457bc32480bff351f0b1d371557238e69f5902037addfe76fa7bd930b9d \
sigyl.stack.portainer_portainer/agent:2.0.0 thisone
#sigyl.stack.portainer_portainer/agent:2.0.0

View File

@ -18,7 +18,8 @@ services:
- appnet - appnet
- externalnet - externalnet
portainer-agent: 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: environment:
# REQUIRED: Should be equal to the service name prefixed by "tasks." when # REQUIRED: Should be equal to the service name prefixed by "tasks." when
# deployed inside an overlay network # deployed inside an overlay network