50 lines
749 B
YAML
50 lines
749 B
YAML
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:
|
|
- main
|
|
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
|
|
|