forked from LemmyNet/lemmy-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.woodpecker.yml
45 lines (40 loc) · 932 Bytes
/
.woodpecker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pipeline:
fetch_git_submodules:
image: node:alpine
commands:
- apk add git
- git submodule init
- git submodule update --recursive --remote
# - git fetch --tags
yarn:
image: node:alpine
commands:
- yarn
yarn_lint:
image: node:alpine
commands:
- yarn lint
yarn_build_dev:
image: node:alpine
commands:
- yarn build:dev
publish_release_docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: dessalines/lemmy-ui
dockerfile: Dockerfile
platforms: linux/amd64
auto_tag: true
when:
event: tag
nightly_build:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: dessalines/lemmy-ui
dockerfile: Dockerfile
platforms: linux/amd64
tag: dev
when:
event: cron