0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 05:12:57 -05:00
safetwitch/.woodpecker.yml

32 lines
711 B
YAML
Raw Normal View History

2023-08-13 13:11:10 -05:00
steps:
2023-11-30 20:23:21 -05:00
lint:
2023-07-10 15:32:11 -05:00
image: docker.io/node:16
2023-07-10 15:31:04 -05:00
commands:
2023-11-30 19:54:05 -05:00
- git clone --recurse-submodules -j8 https://codeberg.org/${CI_REPO_OWNER}/safetwitch
2023-11-30 19:54:48 -05:00
- npm i
2023-11-30 20:23:21 -05:00
- npm run lint
when:
event: push
branch: master
build:
image: docker.io/node:16
commands:
2023-09-27 14:38:38 -05:00
- npm run build
2023-11-26 13:37:17 -05:00
when:
event: push
branch: master
2023-09-27 14:49:31 -05:00
2023-09-27 14:38:38 -05:00
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
2023-09-27 14:41:43 -05:00
dockerfile: Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
2023-09-27 14:38:38 -05:00
registry: codeberg.org
2023-10-04 21:14:28 -05:00
auto_tag: true
2023-12-01 17:41:43 -05:00
repo: codeberg.org/safetwitch/safetwitch
username: safetwitch
2023-09-27 14:38:38 -05:00
password:
from_secret: cb_token
when:
2023-11-26 13:37:17 -05:00
event: tag