RandMus/.drone.yml

25 lines
531 B
YAML
Raw Permalink Normal View History

2022-04-18 11:32:43 +02:00
kind: pipeline
name: hello-world
type: docker
steps:
2022-04-18 12:32:36 +02:00
- name: run make compile
description: Check if the code is compiling
image: alpine
2022-04-18 12:35:05 +02:00
#install make and gcc
commands:
- apk add make build-base
- make compile
2022-04-18 12:32:36 +02:00
artifacts:
- name: compiled
path: randMus
2022-04-18 12:40:26 +02:00
type: file
2022-04-18 12:41:20 +02:00
- name: gitea_release
2022-04-18 12:40:26 +02:00
image: plugins/gitea-release
settings:
2022-04-18 12:52:22 +02:00
api_key:
from_secret: gitea_api_key
2022-04-18 12:40:26 +02:00
base_url: https://brn.systems:3000
2022-04-18 12:46:58 +02:00
files: build/*
when:
event: tag