This commit is contained in:
parent
419031238a
commit
bdbd7d8f84
@ -10,10 +10,6 @@ clone:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api .
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
privileged: true
|
privileged: true
|
||||||
@ -30,6 +26,7 @@ steps:
|
|||||||
- name: usrbin
|
- name: usrbin
|
||||||
path: /usr/bin
|
path: /usr/bin
|
||||||
commands:
|
commands:
|
||||||
|
- 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
|
- docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate
|
||||||
- docker push $REGISTRY/libretranslate-api
|
- docker push $REGISTRY/libretranslate-api
|
||||||
|
Loading…
Reference in New Issue
Block a user