feat: Add Drone CI pipeline for automated image builds
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
- Add .drone.yml to build and push to local registry - Update docker-compose.prod.yml to use registry image
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build minio-webui
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.local.nothaft.cloud/minio-webui
|
||||
tags: latest
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
registry: registry.local.nothaft.cloud
|
||||
@@ -15,10 +15,7 @@ services:
|
||||
|
||||
# Combined app (backend + frontend)
|
||||
app:
|
||||
image: minio-webui:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: registry.local.nothaft.cloud/minio-webui:latest
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
|
||||
Reference in New Issue
Block a user