This commit is contained in:
parent
f7d85b5ee3
commit
347e63d117
@ -21,7 +21,7 @@ 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