2023-03-27 01:59:33 +00:00
|
|
|
pipeline:
|
|
|
|
fetch_git_submodules:
|
2023-06-07 00:53:49 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- apk add git
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update --recursive --remote
|
|
|
|
# - git fetch --tags
|
|
|
|
|
|
|
|
yarn:
|
2023-06-07 00:53:49 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- yarn
|
|
|
|
|
|
|
|
yarn_lint:
|
2023-06-07 00:53:49 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- yarn lint
|
|
|
|
|
|
|
|
yarn_build_dev:
|
2023-06-07 00:53:49 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- yarn build:dev
|
|
|
|
|
2023-06-08 03:57:58 +00:00
|
|
|
publish_release_docker:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
secrets: [docker_username, docker_password]
|
2023-03-27 01:59:33 +00:00
|
|
|
settings:
|
2023-06-08 04:16:50 +00:00
|
|
|
repo: dessalines/lemmy-ui
|
2023-03-27 01:59:33 +00:00
|
|
|
dockerfile: Dockerfile
|
2023-06-08 03:57:58 +00:00
|
|
|
platforms: linux/amd64
|
2023-03-27 01:59:33 +00:00
|
|
|
auto_tag: true
|
|
|
|
when:
|
|
|
|
event: tag
|