2024-10-04 21:42:35 -04:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2024-10-05 14:49:25 -04:00
|
|
|
name: chessboard_builder
|
2024-10-04 21:42:35 -04:00
|
|
|
|
|
|
|
trigger:
|
2024-10-05 16:17:50 -04:00
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
- custom
|
2024-10-04 21:42:35 -04:00
|
|
|
|
|
|
|
steps:
|
2024-10-05 14:49:25 -04:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2024-10-05 16:59:37 -04:00
|
|
|
repo: git.pipsquire.com/djweber12/chess_board_sim
|
2024-10-05 15:25:17 -04:00
|
|
|
registry: git.pipsquire.com
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
2024-10-05 17:06:05 -04:00
|
|
|
password:
|
2024-10-05 15:25:17 -04:00
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- latest
|
2024-10-05 16:17:50 -04:00
|
|
|
- ${DRONE_TAG##"builder-v"}
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
include:
|
|
|
|
- refs/tags/builder-v*
|
2024-10-05 14:49:25 -04:00
|
|
|
|
2024-10-04 21:42:35 -04:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2024-10-05 14:49:25 -04:00
|
|
|
name: chessboard
|
2024-10-04 21:42:35 -04:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|
2024-10-05 14:49:25 -04:00
|
|
|
- custom
|
2024-10-04 21:42:35 -04:00
|
|
|
|
|
|
|
steps:
|
2024-10-05 14:49:25 -04:00
|
|
|
- name: build
|
2024-10-05 16:59:37 -04:00
|
|
|
image: git.pipsquire.com/djweber12/chess_board_sim:latest
|
2024-10-05 14:49:25 -04:00
|
|
|
commands:
|
|
|
|
- cmake -S . -B build
|
|
|
|
- cmake --build build
|
2024-10-04 21:42:35 -04:00
|
|
|
|