Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
need the squash in the image tag for multi arch on tag builds as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Holzer committed Aug 19, 2022
1 parent 90cc1a5 commit 0ba6909
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,16 @@ jobs:
build-test-image:
type: boolean
default: false
squash-images:
type: boolean
default: false
# use docker executor here as it is way faster to spin up instead of the machines
docker:
- image: cimg/base:current
steps:
- compute-docker-tags:
image-name: << parameters.container-image >>
squash: << parameters.squash-images >>
- docker/check
- run:
name: Build multi-arch image and push to registry
Expand Down Expand Up @@ -332,6 +336,7 @@ workflows:
ignore: /.*/
context: [build-image-registry]
container-image: "netlify/build"
squash-images: true
requires:
- build-test-and-push-image

Expand Down

0 comments on commit 0ba6909

Please sign in to comment.