safetwitch/.woodpecker.yml
2023-09-27 19:51:55 +00:00

27 lines
721 B
YAML

steps:
lint:
image: docker.io/node:16
commands:
- git clone --recurse-submodules -j8 https://codeberg.org/dragongoose/safetwitch
- npm i
- npm run lint
build:
image: docker.io/node:16
commands:
- npm run build
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x
registry: codeberg.org
tags: ${CI_COMMIT_TAG},latest
repo: codeberg.org/${CI_REPO_OWNER}/safetwitch
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
event: tag
path: Dockerfile