Move registry address into Drone configuration.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-06-27 02:06:11 +05:00
parent 49ece50d05
commit 732b08b12a
2 changed files with 2 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ steps:
pull: if-not-exists
environment:
DOCKER_HOST: tcp://docker:2375
REGISTRY: code.pztrn.name
REGISTRY_USER: drone
REGISTRY_PASSWORD:
from_secret: drone_secret

View File

@@ -1,9 +1,8 @@
#!/usr/bin/env bash
# The Docker Image Mirror script.
WHAT_TO_MIRROR=()
DESTINATION_REGISTRY=code.pztrn.name
DESTINATION_REGISTRY=${REGISTRY}
DESTINATION_PROJECT=${DESTINATION_REGISTRY}/containers/mirror
USER=${REGISTRY_USER}
PASSWORD=${REGISTRY_PASSWORD}