map aarch64 to arm64
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 1m24s

This commit is contained in:
Sebastian Hugentobler 2025-01-23 09:02:33 +01:00
parent 00e9eb41a4
commit 475a04683d

View File

@ -13,10 +13,11 @@ RUN eval "echo \"\${GODOT_TEMPLATES_HASH} Godot_v$GODOT_VERSION-stable_export_t
RUN mkdir -p /export_templates/$GODOT_VERSION.stable
RUN unzip -j Godot_v$GODOT_VERSION-stable_export_templates.tpz -d /export_templates/$GODOT_VERSION.stable/
RUN curl -L -O https://github.com/godotengine/godot/releases/download/$GODOT_VERSION-stable/Godot_v$GODOT_VERSION-stable_linux.$(arch).zip
RUN eval "echo \"\${GODOT_HASH_$(arch)} Godot_v$GODOT_VERSION-stable_linux.$(arch).zip\" | sha256sum -c -" || exit 1
RUN unzip Godot_v$GODOT_VERSION-stable_linux.$(arch).zip -d /src
RUN mv /src/Godot_v$GODOT_VERSION-stable_linux.$(arch) /src/godot
RUN ARCH=$(arch); if [ "$ARCH" = "aarch64" ]; then ARCH="arm64"; fi; \
curl -L -o /godot.zip https://github.com/godotengine/godot/releases/download/$GODOT_VERSION-stable/Godot_v$GODOT_VERSION-stable_linux.$ARCH.zip
RUN eval "echo \"\${GODOT_HASH_$(arch)} godot.zip\" | sha256sum -c -" || exit 1
RUN unzip godot.zip -d /src
RUN mv /src/Godot_v$GODOT_VERSION-stable_linux.* /src/godot
FROM docker.io/debian:bookworm-slim