Move registry address into Drone configuration.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
49ece50d05
commit
732b08b12a
@ -38,6 +38,7 @@ steps:
|
|||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
REGISTRY: code.pztrn.name
|
||||||
REGISTRY_USER: drone
|
REGISTRY_USER: drone
|
||||||
REGISTRY_PASSWORD:
|
REGISTRY_PASSWORD:
|
||||||
from_secret: drone_secret
|
from_secret: drone_secret
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# The Docker Image Mirror script.
|
# The Docker Image Mirror script.
|
||||||
|
|
||||||
WHAT_TO_MIRROR=()
|
WHAT_TO_MIRROR=()
|
||||||
DESTINATION_REGISTRY=code.pztrn.name
|
DESTINATION_REGISTRY=${REGISTRY}
|
||||||
DESTINATION_PROJECT=${DESTINATION_REGISTRY}/containers/mirror
|
DESTINATION_PROJECT=${DESTINATION_REGISTRY}/containers/mirror
|
||||||
USER=${REGISTRY_USER}
|
USER=${REGISTRY_USER}
|
||||||
PASSWORD=${REGISTRY_PASSWORD}
|
PASSWORD=${REGISTRY_PASSWORD}
|
||||||
|
Loading…
Reference in New Issue
Block a user