0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 05:12:57 -05:00
safetwitch/.woodpecker.yml
2023-09-27 19:38:38 +00:00

29 lines
No EOL
690 B
YAML

variables:
- &file Dockerfile
- &repo codeberg.org/${CI_REPO_OWNER}/hello
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: *file
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
repo: *repo
registry: codeberg.org
tags: ${CI_COMMIT_TAG},latest
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
event: tag
path: *file