Use the generated docker images in the CI (#46) #47
|
@ -8,6 +8,7 @@
|
|||
},
|
||||
"cSpell.words": [
|
||||
"aireone",
|
||||
"aire-one",
|
||||
"ansicolors",
|
||||
"awesomewm",
|
||||
"buildx",
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
variables:
|
||||
- &cyan gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest
|
||||
|
||||
pipeline:
|
||||
prepare:
|
||||
image: akorn/luarocks:lua5.4-alpine
|
||||
image: *cyan
|
||||
commands:
|
||||
- apk add just gcc libc-dev musl-dev curl-dev
|
||||
- just install
|
||||
build:
|
||||
image: akorn/luarocks:lua5.4-alpine
|
||||
image: *cyan
|
||||
commands:
|
||||
- apk add just gcc musl-dev
|
||||
- luarocks install cyan
|
||||
- just build
|
||||
# run:
|
||||
# image: akorn/luarocks:lua5.4-alpine
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
variables:
|
||||
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||
- &platforms linux/amd64
|
||||
- &when_path .woodpecker/docker-build.yml
|
||||
|
||||
matrix:
|
||||
DOCKERFILE:
|
||||
|
@ -19,7 +18,7 @@ pipeline:
|
|||
when:
|
||||
event: pull_request
|
||||
path:
|
||||
- *when_path
|
||||
- .woodpecker/docker-build.yml
|
||||
- .woodpecker/docker/${DOCKERFILE}
|
||||
|
||||
publish:
|
||||
|
@ -37,7 +36,7 @@ pipeline:
|
|||
when:
|
||||
event: push
|
||||
path:
|
||||
- *when_path
|
||||
- .woodpecker/docker-build.yml
|
||||
- .woodpecker/docker/${DOCKERFILE}
|
||||
|
||||
branches: master
|
||||
|
|
|
@ -19,29 +19,25 @@ pipeline:
|
|||
# - ".woodpecker/**"
|
||||
|
||||
lint-lua:
|
||||
image: ghcr.io/lunarmodules/luacheck:v0.26.1
|
||||
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/luacheck_just:latest
|
||||
group: lint
|
||||
commands:
|
||||
- apk add just
|
||||
- just check-lua
|
||||
when:
|
||||
path: *when_path_lua
|
||||
|
||||
style-lua:
|
||||
image: alpine:edge # Stylua is only available on edge repository for now
|
||||
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/stylua_just:latest
|
||||
group: lint
|
||||
commands:
|
||||
- apk add just stylua
|
||||
- just check-format
|
||||
when:
|
||||
path: *when_path_lua
|
||||
|
||||
lint-teal:
|
||||
image: akorn/luarocks:lua5.4-alpine
|
||||
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest
|
||||
group: lint
|
||||
commands:
|
||||
- apk add just gcc libc-dev musl-dev
|
||||
- luarocks install cyan
|
||||
- just check-teal
|
||||
when:
|
||||
path: *when_path_teal
|
||||
|
|
Loading…
Reference in New Issue