chess_board_sim/.drone.yml
Daniel Weber be7c5acb40
Some checks reported errors
continuous-integration/drone Build encountered an error
Fixing DRONE_TAG cleaner upper
2024-10-05 15:55:43 -04:00

43 lines
692 B
YAML

kind: pipeline
type: docker
name: chessboard_builder
trigger:
ref:
include:
- refs/tags/builder-v*
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}
---
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