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:
|
|
|
|
event:
|
2024-10-05 15:25:17 -04:00
|
|
|
- tag
|
2024-10-04 21:42:35 -04:00
|
|
|
|
|
|
|
steps:
|
2024-10-05 14:49:25 -04:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
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
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- ${DRONE_TAG//"builder-v"}
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
include:
|
2024-10-05 15:38:19 -04:00
|
|
|
- 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
|
|
|
|
image: git.pipsquire.com/djweber12/Chess_Board_Sim:latest
|
|
|
|
commands:
|
|
|
|
- cmake -S . -B build
|
|
|
|
- cmake --build build
|
2024-10-04 21:42:35 -04:00
|
|
|
|