ci: prepare submodules.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
parent
672618562b
commit
095100f829
10
.drone.yml
10
.drone.yml
|
@ -7,11 +7,15 @@ pool:
|
||||||
use: do-docker-20-04
|
use: do-docker-20-04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build
|
- name: submodules
|
||||||
|
commands:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
|
- name: build
|
||||||
commands:
|
commands:
|
||||||
- docker buildx build -t ntripcaster .
|
- docker buildx build -t ntripcaster .
|
||||||
|
|
||||||
- name: Image Preparation
|
- name: image preparation
|
||||||
environment:
|
environment:
|
||||||
REGISTRY_USER:
|
REGISTRY_USER:
|
||||||
from_secret: docker_user
|
from_secret: docker_user
|
||||||
|
@ -22,7 +26,7 @@ steps:
|
||||||
- docker tag ntripcaster git.minori.work/embedded_sdk/ntripcaster:0.1.5
|
- docker tag ntripcaster git.minori.work/embedded_sdk/ntripcaster:0.1.5
|
||||||
- docker login -u $REGISTRY_USER -p $REGISTRY_PASS git.minori.work
|
- docker login -u $REGISTRY_USER -p $REGISTRY_PASS git.minori.work
|
||||||
|
|
||||||
- name: Push
|
- name: push
|
||||||
commands:
|
commands:
|
||||||
- docker push git.minori.work/embedded_sdk/ntripcaster:latest
|
- docker push git.minori.work/embedded_sdk/ntripcaster:latest
|
||||||
- docker push git.minori.work/embedded_sdk/ntripcaster:0.1.5
|
- docker push git.minori.work/embedded_sdk/ntripcaster:0.1.5
|
||||||
|
|
Loading…
Reference in New Issue