vision/.drone.yml
Martijn de Boer cda0877fd0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
switch to ubuntu jammy
2022-10-29 16:34:21 +02:00

29 lines
No EOL
579 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: lint
image: registry.gitlab.com/pipeline-components/luacheck:latest
commands:
- luacheck --std +love -g -u -t .
- name: build
image: ubuntu:jammy
when:
event: tag
commands:
- apt-get update
- apt-get upgrade
- apt-get -y install curl zip git
- chmod +x tools/build.sh
- bash tools/build.sh
- name: release
image: plugins/gitea-release
when:
event: tag
settings:
api_key:
from_secret: gitea_api
base_url: https://git.biggetje.net
files: release/*
prerelease: true