chess_board_sim/.drone.yml

50 lines
756 B
YAML
Raw Normal View History

2024-10-04 21:28:49 -04:00
kind: pipeline
type: docker
name: chessboard
trigger:
branch:
- main
event:
- push
steps:
- name: build
image: git.pipsquire.com/djweber12/Chess_Board_Sim:latest
commands:
- cmake -S . -B build
- cmake --build build
---
kind: pipeline
type: docker
name: chessboard_builder
trigger:
branch:
2024-10-04 21:46:02 -04:00
- build_tools
2024-10-04 21:28:49 -04:00
event:
- push
steps:
- name: docker
image: plugins/docker
settings:
repo: git.pipsquire.com/djweber12/Chess_Board_Sim
registry: git.pipsquire.com
username:
from_secret: docker_username
password:
from_secret: docker_password
#
# - name: test
# image: foo:latest
# commands:
# - cmake -s . -b build
# - cmake --build build
#
# volumes:
# - name: dockersock