diff --git a/.github/workflows/release-develop.yml b/.github/workflows/release-develop.yml index c10bf5c887..76f8f643b1 100644 --- a/.github/workflows/release-develop.yml +++ b/.github/workflows/release-develop.yml @@ -82,7 +82,7 @@ jobs: - name: Tag and release Proxy service docker image run: | docker login -u $DOCKER_USER -p $DOCKER_PASSWORD - yarn build:docker:proxy:preprod + yarn build:docker:proxy:release docker tag proxy-service budibase/proxy:$RELEASE_TAG docker push budibase/proxy:$RELEASE_TAG env: diff --git a/package.json b/package.json index bd71dd6bc7..0f6fdd01a9 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "build:docker:proxy": "docker build hosting/proxy -t proxy-service", "build:docker:proxy:compose": "node scripts/proxy/generateProxyConfig compose && npm run build:docker:proxy", "build:docker:proxy:preprod": "node scripts/proxy/generateProxyConfig preprod && npm run build:docker:proxy", + "build:docker:proxy:release": "node scripts/proxy/generateProxyConfig release && npm run build:docker:proxy", "build:docker:proxy:prod": "node scripts/proxy/generateProxyConfig prod && npm run build:docker:proxy", "build:docker:selfhost": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh latest && cd -", "build:docker:develop": "node scripts/pinVersions && lerna run build:docker && npm run build:docker:proxy:compose && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -", diff --git a/scripts/proxy/generateProxyConfig.js b/scripts/proxy/generateProxyConfig.js index 1abc6240a1..e30daf6156 100644 --- a/scripts/proxy/generateProxyConfig.js +++ b/scripts/proxy/generateProxyConfig.js @@ -51,6 +51,13 @@ const Configs = { couchdb: "budibase-preprod-svc-couchdb", resolver: "kube-dns.kube-system.svc.cluster.local" }, + release: { + apps: "app-service.budibase.svc.cluster.local", + worker: "worker-service.budibase.svc.cluster.local", + minio: "minio-service.budibase.svc.cluster.local", + couchdb: "budibase-release-svc-couchdb", + resolver: "kube-dns.kube-system.svc.cluster.local" + }, compose: { apps: "app-service", worker: "worker-service", @@ -64,6 +71,7 @@ const Configs = { const Commands = { Prod: "prod", Preprod: "preprod", + Release: "release", Compose: "compose", }