22 lines
493 B
YAML
22 lines
493 B
YAML
kind: pipeline
|
|
name: hello-world
|
|
type: docker
|
|
|
|
steps:
|
|
- name: run make compile
|
|
description: Check if the code is compiling
|
|
image: alpine
|
|
#install make and gcc
|
|
commands:
|
|
- apk add make build-base
|
|
- make compile
|
|
artifacts:
|
|
- name: compiled
|
|
path: randMus
|
|
type: file
|
|
- name: gitea_release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key: "{{secrets.publisher}}"
|
|
base_url: https://brn.systems:3000
|
|
files: build/* |