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

This commit is contained in:
Stanislav Nikitin 2022-06-27 02:06:11 +05:00
parent 49ece50d05
commit 732b08b12a
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
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}