spring-web-modules/.drone.yml
Sambo Chea 9b7a1159f5
Some checks failed
continuous-integration/drone/push Build is failing
Add ci for build registry
2022-04-21 17:43:07 +07:00

31 lines
622 B
YAML

kind: pipeline
type: kubernetes
name: docker-pipeline
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: git.cubetiqs.com/spring-web-api
registry: git.cubetiqs.com
tags: latest
---
kind: pipeline
type: kubernetes
name: ci
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: test
image: cubetiq/openjdk:11u-ubuntu
commands:
- apt-get update && apt-get install git -y
- sh gradlew bootJar