This commit is contained in:
parent
39e56a50e9
commit
ff0f869235
@ -26,10 +26,9 @@ steps:
|
|||||||
- name: usrbin
|
- name: usrbin
|
||||||
path: /usr/bin
|
path: /usr/bin
|
||||||
commands:
|
commands:
|
||||||
- apk update && apk fix --reinstall git
|
- /usr/bin/git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
|
||||||
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api .
|
|
||||||
- docker login -u $USER -p $PASS $REGISTRY
|
- docker login -u $USER -p $PASS $REGISTRY
|
||||||
- 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
|
||||||
- docker push $REGISTRY/libretranslate-api
|
- docker push $REGISTRY/libretranslate-api
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
Loading…
Reference in New Issue
Block a user