47 lines
748 B
YAML
47 lines
748 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: chessboard_builder
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|
|
- custom
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: git.pipsquire.com/djweber12/chess_board_sim
|
|
registry: git.pipsquire.com
|
|
username:
|
|
from_secret: docker_username
|
|
from_secret: docker_password
|
|
tags:
|
|
- latest
|
|
- ${DRONE_TAG##"builder-v"}
|
|
when:
|
|
ref:
|
|
include:
|
|
- refs/tags/builder-v*
|
|
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: chessboard
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
- custom
|
|
|
|
steps:
|
|
- name: build
|
|
image: git.pipsquire.com/djweber12/chess_board_sim:latest
|
|
commands:
|
|
- cmake -S . -B build
|
|
- cmake --build build
|
|
|