ci: prepare submodules.
continuous-integration/drone/push Build is passing Details

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2024-03-24 14:02:05 +08:00
parent 672618562b
commit 095100f829
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
1 changed files with 7 additions and 3 deletions

View File

@ -7,11 +7,15 @@ pool:
use: do-docker-20-04
steps:
- name: Build
- name: submodules
commands:
- git submodule update --init --recursive
- name: build
commands:
- docker buildx build -t ntripcaster .
- name: Image Preparation
- name: image preparation
environment:
REGISTRY_USER:
from_secret: docker_user
@ -22,7 +26,7 @@ steps:
- docker tag ntripcaster git.minori.work/embedded_sdk/ntripcaster:0.1.5
- docker login -u $REGISTRY_USER -p $REGISTRY_PASS git.minori.work
- name: Push
- name: push
commands:
- docker push git.minori.work/embedded_sdk/ntripcaster:latest
- docker push git.minori.work/embedded_sdk/ntripcaster:0.1.5