Merge branch 'fix-docker-build-image-size' into 'next'

ci: Fix "0 B" image size display

See merge request famedly/conduit!499
This commit is contained in:
Jonas Zohren 2023-07-04 21:18:25 +00:00
commit eab5dac6e8

View file

@ -41,6 +41,7 @@ variables:
--pull --pull
--tag "$CI_REGISTRY_IMAGE/temporary-ci-images:$CI_JOB_ID" --tag "$CI_REGISTRY_IMAGE/temporary-ci-images:$CI_JOB_ID"
--push --push
--provenance=false
--file "Dockerfile" . --file "Dockerfile" .
# Build multiplatform image to deb stage and extract their .deb files: # Build multiplatform image to deb stage and extract their .deb files:
- > - >
@ -48,6 +49,7 @@ variables:
--platform "linux/arm/v7,linux/arm64,linux/amd64" --platform "linux/arm/v7,linux/arm64,linux/amd64"
--target "packager-result" --target "packager-result"
--output="type=local,dest=/tmp/build-output" --output="type=local,dest=/tmp/build-output"
--provenance=false
--file "Dockerfile" . --file "Dockerfile" .
# Build multiplatform image to binary stage and extract their binaries: # Build multiplatform image to binary stage and extract their binaries:
- > - >
@ -55,6 +57,7 @@ variables:
--platform "linux/arm/v7,linux/arm64,linux/amd64" --platform "linux/arm/v7,linux/arm64,linux/amd64"
--target "builder-result" --target "builder-result"
--output="type=local,dest=/tmp/build-output" --output="type=local,dest=/tmp/build-output"
--provenance=false
--file "Dockerfile" . --file "Dockerfile" .
# Copy to GitLab container registry: # Copy to GitLab container registry:
- > - >