diff --git a/config/.dart-version b/config/.dart-version index 818bd47abf..351227fca3 100644 --- a/config/.dart-version +++ b/config/.dart-version @@ -1 +1 @@ -3.0.6 +3.2.4 diff --git a/scripts/docker/Dockerfile.swift b/scripts/docker/Dockerfile.swift index d523b823b9..e2f35f275e 100644 --- a/scripts/docker/Dockerfile.swift +++ b/scripts/docker/Dockerfile.swift @@ -10,7 +10,7 @@ WORKDIR /app # Java RUN apt-get update \ - && apt-get install -y --no-install-recommends curl zip unzip \ + && apt-get install -y --no-install-recommends curl zip unzip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* RUN curl -s "https://get.sdkman.io" | bash diff --git a/scripts/docker/publish.sh b/scripts/docker/publish.sh index 2735bdf800..e18fe6ec86 100755 --- a/scripts/docker/publish.sh +++ b/scripts/docker/publish.sh @@ -1,7 +1,7 @@ #! /bin/bash export NODE_VERSION=$(cat .nvmrc) -find config -name '.*-version' | xargs -I{} sh -c 'l=$(echo "{}" | sed -e "s/-/_/;s/config\/\.//" | tr "[a-z]" "[A-Z]");echo "export $l=$(cat {})"' +eval $(find config -name '.*-version' | xargs -I{} sh -c 'l=$(echo "{}" | sed -e "s/-/_/;s/config\/\.//" | tr "[a-z]" "[A-Z]");echo "export $l=$(cat {})"') docker buildx build --load \ --platform linux/amd64 \ @@ -14,3 +14,19 @@ docker buildx build --load \ --build-arg PYTHON_VERSION \ -t ghcr.io/algolia/apic-base:latest \ -f scripts/docker/Dockerfile.base . + +docker buildx build --push \ + --platform linux/amd64 \ + --build-arg RUBY_VERSION \ + --build-arg JAVA_VERSION \ + --build-arg NODE_VERSION \ + -t ghcr.io/algolia/apic-ruby:latest \ + -f scripts/docker/Dockerfile.ruby . + +docker buildx build --push \ + --platform linux/arm64 \ + --build-arg SWIFT_VERSION \ + --build-arg JAVA_VERSION \ + --build-arg NODE_VERSION \ + -t ghcr.io/algolia/apic-swift:latest \ + -f scripts/docker/Dockerfile.swift .