|
|
|
@ -17,7 +17,7 @@ steps:
|
|
|
|
|
dockerfile: "./src/Dockerfile.prod-backend"
|
|
|
|
|
context: "./src"
|
|
|
|
|
target: production
|
|
|
|
|
registry: git.vdhsn.com
|
|
|
|
|
registry: gitea.homelab-public
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/service-catalog
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
@ -47,7 +47,7 @@ steps:
|
|
|
|
|
dockerfile: "./src/Dockerfile.prod-backend"
|
|
|
|
|
context: "./src"
|
|
|
|
|
target: production
|
|
|
|
|
registry: git.vdhsn.com
|
|
|
|
|
registry: gitea.homelab-public
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/service-runner
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
@ -77,7 +77,7 @@ steps:
|
|
|
|
|
dockerfile: "./src/Dockerfile.prod-backend"
|
|
|
|
|
context: "./src"
|
|
|
|
|
target: production
|
|
|
|
|
registry: git.vdhsn.com
|
|
|
|
|
registry: gitea.homelab-public
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/service-auth
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
@ -107,7 +107,7 @@ steps:
|
|
|
|
|
dockerfile: "./src/Dockerfile.prod-backend"
|
|
|
|
|
context: "./src"
|
|
|
|
|
target: production
|
|
|
|
|
registry: git.vdhsn.com
|
|
|
|
|
registry: gitea.homelab-public
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/service-proxy-admin
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
@ -137,7 +137,7 @@ steps:
|
|
|
|
|
dockerfile: "./src/Dockerfile.prod-backend"
|
|
|
|
|
context: "./src"
|
|
|
|
|
target: production
|
|
|
|
|
registry: git.vdhsn.com
|
|
|
|
|
registry: gitea.homelab-public
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/service-proxy-web
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
@ -167,7 +167,37 @@ steps:
|
|
|
|
|
dockerfile: "./src/Dockerfile.frontend"
|
|
|
|
|
context: "./src/web-client"
|
|
|
|
|
target: production
|
|
|
|
|
registry: git.vdhsn.com
|
|
|
|
|
registry: gitea.homelab-public
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/service-proxy-web
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
|
skip_unused_stages: true
|
|
|
|
|
build_args:
|
|
|
|
|
- "service=proxy-web"
|
|
|
|
|
tags:
|
|
|
|
|
- ${DRONE_COMMIT_SHA}
|
|
|
|
|
custom_labels:
|
|
|
|
|
- com.barretthousen.service=proxy-web
|
|
|
|
|
- com.barretthousen.version=${DRONE_COMMIT_SHA}
|
|
|
|
|
- com.barretthousen.git-ref=${DRONE_COMMIT_SHA}
|
|
|
|
|
- com.barretthousen.build-date=${DRONE_BUILD_STARTED}
|
|
|
|
|
- com.barrethousen.builder=${DRONE_COMMIT_AUTHOR}
|
|
|
|
|
username:
|
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
|
password:
|
|
|
|
|
from_secret: DOCKER_PASSWORD
|
|
|
|
|
|
|
|
|
|
- name: Build & Publish Web Client
|
|
|
|
|
image: plugins/kaniko
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: 2
|
|
|
|
|
memory: 1Gi
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: "./src/Dockerfile.frontend"
|
|
|
|
|
context: "./src/web-client"
|
|
|
|
|
target: production
|
|
|
|
|
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/client-web-client
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
@ -191,7 +221,7 @@ steps:
|
|
|
|
|
dockerfile: "./src/Dockerfile.frontend"
|
|
|
|
|
context: "./src/admin-client"
|
|
|
|
|
target: production
|
|
|
|
|
registry: git.vdhsn.com
|
|
|
|
|
registry: gitea.homelab-public
|
|
|
|
|
repo: git.vdhsn.com/barretthousen/client-admin-client
|
|
|
|
|
enable_cache: true
|
|
|
|
|
cache_repo: git.vdhsn.com/barretthousen/ci-cache
|
|
|
|
|