Merge pull request #21 from Dokploy/fix/builder-env-wrong-way

Fix/builder env wrong way
This commit is contained in:
Mauricio Siu
2024-05-01 17:48:35 -06:00
committed by GitHub
6 changed files with 77 additions and 75 deletions

View File

@@ -3,6 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
- canary
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04

View File

@@ -210,7 +210,7 @@ export const AddDomain = ({
<div className="space-y-0.5"> <div className="space-y-0.5">
<FormLabel>HTTPS</FormLabel> <FormLabel>HTTPS</FormLabel>
<FormDescription> <FormDescription>
Automatically will have SSL Certificate. Automatically provision SSL Certificate.
</FormDescription> </FormDescription>
</div> </div>
<FormControl> <FormControl>

View File

@@ -228,7 +228,7 @@ export const UpdateDomain = ({ domainId }: Props) => {
<div className="space-y-0.5"> <div className="space-y-0.5">
<FormLabel>HTTPS</FormLabel> <FormLabel>HTTPS</FormLabel>
<FormDescription> <FormDescription>
Automatically will have SSL Certificate. Automatically provision SSL Certificate.
</FormDescription> </FormDescription>
</div> </div>
<FormControl> <FormControl>

View File

@@ -22,7 +22,7 @@ export const buildHeroku = async (
"heroku/builder:22", "heroku/builder:22",
]; ];
for (const env in envVariables) { for (const env of envVariables) {
args.push("--env", env); args.push("--env", env);
} }

View File

@@ -15,9 +15,10 @@ export const buildNixpacks = async (
try { try {
const args = ["build", buildAppDirectory, "--name", appName]; const args = ["build", buildAppDirectory, "--name", appName];
for (const env in envVariables) { for (const env of envVariables) {
args.push("--env", env); args.push("--env", env);
} }
await spawnAsync("nixpacks", args, (data) => { await spawnAsync("nixpacks", args, (data) => {
if (writeStream.writable) { if (writeStream.writable) {
writeStream.write(data); writeStream.write(data);

View File

@@ -22,7 +22,7 @@ export const buildPaketo = async (
"paketobuildpacks/builder-jammy-full", "paketobuildpacks/builder-jammy-full",
]; ];
for (const env in envVariables) { for (const env of envVariables) {
args.push("--env", env); args.push("--env", env);
} }