Create and host docker images for the CI (#34) #39
|
@ -1,35 +0,0 @@
|
|||
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
|
|
@ -1,35 +0,0 @@
|
|||
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
|
|
@ -1,35 +0,0 @@
|
|||
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
|
Loading…
Reference in New Issue