lemmy/skaffold.yaml

38 lines
964 B
YAML
Raw Normal View History

2019-04-26 17:39:21 -04:00
apiVersion: skaffold/v1beta9
kind: Config
profiles:
- name: lemmy--dev
2019-04-26 17:39:21 -04:00
build:
artifacts:
- image: registry.gitlab.com/pojntfx/lemmy/server.dev
context: server
2019-04-26 17:39:21 -04:00
docker:
dockerfile: Dockerfile.dev
- image: registry.gitlab.com/pojntfx/lemmy/ui.dev
context: ui
docker:
dockerfile: Dockerfile.dev
sync:
"***/*.ts": .
"***/*.tsx": .
"***/*.css": .
2019-04-26 17:39:21 -04:00
deploy:
kubectl:
manifests:
- "**/*.dev.yaml"
- name: lemmy--prod
build:
artifacts:
- image: registry.gitlab.com/pojntfx/lemmy/server.prod
context: server
docker:
dockerfile: Dockerfile.prod
- image: registry.gitlab.com/pojntfx/lemmy/ui.prod
context: ui
docker:
dockerfile: Dockerfile.prod
deploy:
kubectl:
manifests:
- "**/*.prod.yaml"