diff --git a/src/lib/buildPacks/docker.ts b/src/lib/buildPacks/docker.ts index 2c86bb532..371ffed82 100644 --- a/src/lib/buildPacks/docker.ts +++ b/src/lib/buildPacks/docker.ts @@ -28,11 +28,11 @@ export default async function ({ if (secret.isBuildSecret) { if (pullmergeRequestId) { if (secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } else { if (!secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } } diff --git a/src/lib/buildPacks/nextjs.ts b/src/lib/buildPacks/nextjs.ts index 4f1f3b0d6..0f58b3b84 100644 --- a/src/lib/buildPacks/nextjs.ts +++ b/src/lib/buildPacks/nextjs.ts @@ -23,11 +23,11 @@ const createDockerfile = async (data, image): Promise => { if (secret.isBuildSecret) { if (pullmergeRequestId) { if (secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } else { if (!secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } } diff --git a/src/lib/buildPacks/node.ts b/src/lib/buildPacks/node.ts index 54527a728..869e28b5d 100644 --- a/src/lib/buildPacks/node.ts +++ b/src/lib/buildPacks/node.ts @@ -24,11 +24,11 @@ const createDockerfile = async (data, image): Promise => { if (secret.isBuildSecret) { if (pullmergeRequestId) { if (secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } else { if (!secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } } diff --git a/src/lib/buildPacks/nuxtjs.ts b/src/lib/buildPacks/nuxtjs.ts index 207afe864..bfa48bf73 100644 --- a/src/lib/buildPacks/nuxtjs.ts +++ b/src/lib/buildPacks/nuxtjs.ts @@ -23,11 +23,11 @@ const createDockerfile = async (data, image): Promise => { if (secret.isBuildSecret) { if (pullmergeRequestId) { if (secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } else { if (!secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } } diff --git a/src/lib/buildPacks/static.ts b/src/lib/buildPacks/static.ts index 17900ced3..e9e7179d5 100644 --- a/src/lib/buildPacks/static.ts +++ b/src/lib/buildPacks/static.ts @@ -22,11 +22,11 @@ const createDockerfile = async (data, image): Promise => { if (secret.isBuildSecret) { if (pullmergeRequestId) { if (secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } else { if (!secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } } diff --git a/src/lib/docker.ts b/src/lib/docker.ts index 717303040..89290fba2 100644 --- a/src/lib/docker.ts +++ b/src/lib/docker.ts @@ -27,11 +27,11 @@ export async function buildCacheImageWithNode(data, imageForBuild) { if (secret.isBuildSecret) { if (pullmergeRequestId) { if (secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } else { if (!secret.isPRMRSecret) { - Dockerfile.push(`ARG ${secret.name} ${secret.value}`); + Dockerfile.push(`ARG ${secret.name}=${secret.value}`); } } }