Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Sep 13, 2023
1 parent 09ec5ab commit f9083d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-system/scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ for PARENT in $PARENTS; do
echo "Pulling dependency $PARENT_REPO..."
fetch_image $PARENT_IMAGE_URI
# Tag it to look like an official release as that's what we use in Dockerfiles.
retry docker tag $PARENT_IMAGE_URI $ECR_DEPLOY_URL/$PARENT
TAG=$ECR_DEPLOY_URL/$PARENT
echo "Tagging $PARENT_IMAGE_URI as $TAG"
retry docker tag $PARENT_IMAGE_URI $TAG
done


Expand Down Expand Up @@ -169,6 +171,7 @@ for STAGE in $STAGES; do

echo "Building stage: $STAGE"
STAGE_IMAGE_COMMIT_URI=$ECR_URL/$REPOSITORY:cache-$CONTENT_HASH-$STAGE
echo "buildx tag $STAGE_IMAGE_COMMIT_URI"
# Build our dockerfile, add timing information
docker buildx build --platform $PLATFORMS --target $STAGE $STAGE_CACHE_FROM -t $STAGE_IMAGE_COMMIT_URI -f $DOCKERFILE --build-arg COMMIT_TAG=$COMMIT_TAG_VERSION --build-arg ARG_CONTENT_HASH=$CONTENT_HASH --push . \
| while read line ; do echo "$(date "+%H:%M:%S")| $line"; done
Expand Down

0 comments on commit f9083d1

Please sign in to comment.