ci: add docker-build
ci/woodpecker/push/build unknown status
Details
ci/woodpecker/push/lint unknown status
Details
ci/woodpecker/push/docker-build-cyan Pipeline was successful
Details
ci/woodpecker/push/docker-build-luacheck_just Pipeline was successful
Details
ci/woodpecker/push/docker-build_stylua_just Pipeline was successful
Details
ci/woodpecker/pr/docker-build-cyan Pipeline failed
Details
ci/woodpecker/pr/docker-build-luacheck_just Pipeline failed
Details
ci/woodpecker/pr/docker-build_stylua_just Pipeline failed
Details
ci/woodpecker/pr/lint Pipeline was successful
Details
ci/woodpecker/pr/build Pipeline was successful
Details
ci/woodpecker/push/build unknown status
Details
ci/woodpecker/push/lint unknown status
Details
ci/woodpecker/push/docker-build-cyan Pipeline was successful
Details
ci/woodpecker/push/docker-build-luacheck_just Pipeline was successful
Details
ci/woodpecker/push/docker-build_stylua_just Pipeline was successful
Details
ci/woodpecker/pr/docker-build-cyan Pipeline failed
Details
ci/woodpecker/pr/docker-build-luacheck_just Pipeline failed
Details
ci/woodpecker/pr/docker-build_stylua_just Pipeline failed
Details
ci/woodpecker/pr/lint Pipeline was successful
Details
ci/woodpecker/pr/build Pipeline was successful
Details
This commit is contained in:
parent
f6e8f8e346
commit
1d8d11a0b6
|
@ -0,0 +1,35 @@
|
|||
variables:
|
||||
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||
- &file Dockerfile.cyan
|
||||
- &repo gitea.aireone.xyz/${CI_REPO}
|
||||
- &platforms linux/amd64
|
||||
|
||||
pipeline:
|
||||
dryrun:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: *platforms
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
when:
|
||||
branch: master
|
||||
event: pull_request
|
||||
path: *file
|
||||
|
||||
publish:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: *platforms
|
||||
registry: gitea.aireone.xyz
|
||||
repo: *repo
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: publish_username
|
||||
password:
|
||||
from_secret: publish_token
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
path: *file
|
|
@ -0,0 +1,35 @@
|
|||
variables:
|
||||
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||
- &file Dockerfile.luacheck_just
|
||||
- &repo gitea.aireone.xyz/${CI_REPO}
|
||||
- &platforms linux/amd64
|
||||
|
||||
pipeline:
|
||||
dryrun:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: *platforms
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
when:
|
||||
branch: master
|
||||
event: pull_request
|
||||
path: *file
|
||||
|
||||
publish:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: *platforms
|
||||
registry: gitea.aireone.xyz
|
||||
repo: *repo
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: publish_username
|
||||
password:
|
||||
from_secret: publish_token
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
path: *file
|
|
@ -0,0 +1,35 @@
|
|||
variables:
|
||||
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||
- &file Dockerfile.stylua_just
|
||||
- &repo gitea.aireone.xyz/${CI_REPO}
|
||||
- &platforms linux/amd64
|
||||
|
||||
pipeline:
|
||||
dryrun:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: *platforms
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
when:
|
||||
branch: master
|
||||
event: pull_request
|
||||
path: *file
|
||||
|
||||
publish:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: *platforms
|
||||
registry: gitea.aireone.xyz
|
||||
repo: *repo
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: publish_username
|
||||
password:
|
||||
from_secret: publish_token
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
path: *file
|
|
@ -0,0 +1,3 @@
|
|||
FROM akorn/luarocks:lua5.4-alpine
|
||||
RUN apk add just gcc libc-dev musl-dev curl-dev
|
||||
RUN luarocks install cyan
|
|
@ -0,0 +1,2 @@
|
|||
FROM ghcr.io/lunarmodules/luacheck:v0.26.1
|
||||
RUN apk add just
|
|
@ -0,0 +1,2 @@
|
|||
FROM alpine:edge
|
||||
RUN apk add just stylua
|
Loading…
Reference in New Issue