You've already forked T2-Debian-and-Ubuntu-Kernel
mirror of
https://github.com/t2linux/T2-Debian-and-Ubuntu-Kernel.git
synced 2026-04-30 13:49:30 -07:00
45 lines
787 B
YAML
45 lines
787 B
YAML
---
|
|
kind: pipeline
|
|
name: mbp-ubuntu-kernel
|
|
|
|
trigger:
|
|
event:
|
|
exclude:
|
|
- pull_request
|
|
|
|
steps:
|
|
- name: lint
|
|
image: alpine
|
|
pull: always
|
|
commands:
|
|
- apk add --no-cache shellcheck python3 py-pip bash
|
|
- pip install yamllint
|
|
- yamllint .
|
|
- shellcheck ./*.sh
|
|
|
|
- name: build
|
|
image: ubuntu:20.04
|
|
pull: always
|
|
volumes:
|
|
- name: build-artifacts
|
|
path: /tmp/artifacts
|
|
commands:
|
|
- ./build.sh
|
|
|
|
- name: publish-github
|
|
image: plugins/github-release
|
|
volumes:
|
|
- name: build-artifacts
|
|
path: /tmp/artifacts
|
|
settings:
|
|
api_key:
|
|
from_secret: github_token
|
|
files: /tmp/artifacts/*
|
|
prerelease: true
|
|
when:
|
|
event: tag
|
|
|
|
volumes:
|
|
- name: build-artifacts
|
|
temp: {}
|