Skip to content
Snippets Groups Projects
Commit 678a0b29 authored by Jonas Leder's avatar Jonas Leder
Browse files

squash layers

parent 0db1b076
Branches
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION):
'cat .env',
'docker context create build',
'docker buildx create build --use',
'docker buildx build --platform linux/amd64,linux/arm,linux/arm64 --push --build-arg PHP_VERSION=' + PHP_VERSION + ' --build-arg ALPINE_VERSION=' + ALPINE_VERSION + ' --build-arg TESTING_REPO=' + str(TESTING_REPO) + ' --build-arg PHP_SESSION=' + str(PHP_SESSION) + ' -t $registry_image:${tag}' + PHP_VERSION + '-' + ALPINE_VERSION + ' .'
'docker buildx build --squash --platform linux/amd64,linux/arm,linux/arm64 --push --build-arg PHP_VERSION=' + PHP_VERSION + ' --build-arg ALPINE_VERSION=' + ALPINE_VERSION + ' --build-arg TESTING_REPO=' + str(TESTING_REPO) + ' --build-arg PHP_SESSION=' + str(PHP_SESSION) + ' -t $registry_image:${tag}' + PHP_VERSION + '-' + ALPINE_VERSION + ' .'
]
}
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment