CI: Initial build.
continuous-integration/drone/push Build encountered an error Details

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2023-06-06 18:14:59 +08:00
parent 726e25180d
commit 8166f8ffb1
Signed by: imi415
GPG Key ID: DB982239424FF8AC
1 changed files with 28 additions and 0 deletions

28
.drone.yml Normal file
View File

@ -0,0 +1,28 @@
---
kind: pipeline
type: vm
name: Container
pool:
use: do_docker-20-04
steps:
- name: Build
commands:
- docker buildx build -t embedded-builder-arm .
- name: Image Preparation
environment:
REGISTRY_USER:
from_secret: docker_user
REGISTRY_PASS:
from_secret: docker_pass
commands:
- docker tag embedded-builder-arm git.minori.work/embedded_sdk/embedded-builder-arm:latest
- docker tag embedded-builder-arm git.minori.work/embedded_sdk/embedded-builder-arm:12.2.mpacbti-rel1
- docker login -u ${REGISTRY_USER} -p ${REGISTERY_PASS}
- name: Push
commands:
- docker push git.minori.work/embedded_sdk/embedded-builder-arm:latest
- docker push git.minori.work/embedded_sdk/embedded-builder-arm:12.2.mpacbti-rel1