From 095100f82977c33b25190d2976c27dad525d2958 Mon Sep 17 00:00:00 2001 From: Yilin Sun Date: Sun, 24 Mar 2024 14:02:05 +0800 Subject: [PATCH] ci: prepare submodules. Signed-off-by: Yilin Sun --- .drone.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index b76ea68..a45216f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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