feat(ci): add Docker build+push pipeline for gateway and web images
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
Jarvis
2026-03-30 19:54:28 -05:00
parent da41724490
commit f161e3cb62
4 changed files with 84 additions and 4 deletions

View File

@@ -59,3 +59,41 @@ steps:
- lint
- format
- test
publish-gateway:
image: woodpeckerci/plugin-docker-buildx
settings:
registry: git.mosaicstack.dev
repo: git.mosaicstack.dev/mosaic/mosaic-stack-gateway
dockerfile: docker/gateway.Dockerfile
tags:
- latest
- ${CI_COMMIT_SHA}
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
when:
- event: push
branch: main
depends_on:
- build
publish-web:
image: woodpeckerci/plugin-docker-buildx
settings:
registry: git.mosaicstack.dev
repo: git.mosaicstack.dev/mosaic/mosaic-stack-web
dockerfile: docker/web.Dockerfile
tags:
- latest
- ${CI_COMMIT_SHA}
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
when:
- event: push
branch: main
depends_on:
- build