mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 05:12:57 -05:00
32 lines
No EOL
720 B
YAML
32 lines
No EOL
720 B
YAML
steps:
|
|
lint:
|
|
image: docker.io/node:16
|
|
commands:
|
|
- git clone --recurse-submodules -j8 https://codeberg.org/${CI_REPO_OWNER}/safetwitch
|
|
- npm i
|
|
- npm run lint
|
|
when:
|
|
event: push
|
|
branch: master
|
|
|
|
build:
|
|
image: docker.io/node:16
|
|
commands:
|
|
- npm run build
|
|
when:
|
|
event: push
|
|
branch: master
|
|
|
|
publish:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
dockerfile: ./docker/Dockerfile
|
|
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
|
|
registry: codeberg.org
|
|
auto_tag: true
|
|
repo: codeberg.org/safetwitch/safetwitch
|
|
username: safetwitch
|
|
password:
|
|
from_secret: cb_token
|
|
when:
|
|
event: tag |