Skip to content

Commit

Permalink
fix: Pin kratix distribution at generic docker sha, not AMD specific (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aclevername authored Jan 22, 2025
1 parent 60b241c commit abb6f5c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ commands:
- golang/install:
cache: true
version: 1.23.5
- run:
name: Install skopeo
command: |
sudo apt-get -y update
sudo apt-get -y install skopeo
- run:
name: Install Kind
command: |
Expand Down
4 changes: 2 additions & 2 deletions scripts/make-distribution
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ docker pull syntasso/kratix-platform-pipeline-adapter

docker pull syntasso/kratix-platform

PIPELINE_ADAPTER_VERSION_MANIFEST_DIGEST=$(docker buildx imagetools inspect syntasso/kratix-platform-pipeline-adapter --raw | yq -r '.manifests[] | select(.platform.architecture=="amd64").digest')
PIPELINE_ADAPTER_VERSION_MANIFEST_DIGEST=$(skopeo --override-os linux inspect docker://docker.io/syntasso/kratix-platform-pipeline-adapter:latest | jq -r .Digest)
export PIPELINE_ADAPTER_VERSION_MANIFEST_DIGEST

KRATIX_PLATFORM_MANIFEST_DIGEST=$(docker buildx imagetools inspect syntasso/kratix-platform --raw | yq -r '.manifests[] | select(.platform.architecture=="amd64").digest')
KRATIX_PLATFORM_MANIFEST_DIGEST=$(skopeo --override-os linux inspect docker://docker.io/syntasso/kratix-platform:latest | jq -r .Digest)
export KRATIX_PLATFORM_MANIFEST_DIGEST

export PIPELINE_ADAPTER_IMG=syntasso.docker.scarf.sh/syntasso/kratix-platform-pipeline-adapter@${PIPELINE_ADAPTER_VERSION_MANIFEST_DIGEST}
Expand Down

0 comments on commit abb6f5c

Please sign in to comment.