This commit is contained in:
parent
347e63d117
commit
6e9f34814b
@ -21,7 +21,9 @@ steps:
|
||||
REGISTRY:
|
||||
from_secret: registry
|
||||
commands:
|
||||
- echo '{"insecure-registries": ["${REGISTRY}"]}' > /etc/docker/daemon.json
|
||||
- |
|
||||
echo '{"insecure-registries": ["${REGISTRY}"]}' \
|
||||
> /etc/docker/daemon.json
|
||||
- service docker reload
|
||||
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
|
||||
- docker login -u $USER -p $PASS $REGISTRY
|
||||
|
Loading…
Reference in New Issue
Block a user