This commit is contained in:
parent
e1b8653cf1
commit
f7d85b5ee3
@ -21,7 +21,8 @@ steps:
|
|||||||
REGISTRY:
|
REGISTRY:
|
||||||
from_secret: registry
|
from_secret: registry
|
||||||
commands:
|
commands:
|
||||||
- echo "{\"insecure-registries\": [\"$REGISTRY\"]}" > /etc/docker/daemon.json && service docker reload
|
- echo "{\"insecure-registries\": [\"$REGISTRY\"]}" > /etc/docker/daemon.json
|
||||||
|
- service docker reload
|
||||||
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
|
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
|
||||||
- docker login -u $USER -p $PASS $REGISTRY
|
- docker login -u $USER -p $PASS $REGISTRY
|
||||||
- cd /drone/src && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate
|
- cd /drone/src && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate
|
||||||
|
Loading…
Reference in New Issue
Block a user