Commit 86729b39 authored by Ananaskirsche's avatar Ananaskirsche Committed by Pierre Smeyers
Browse files

fix: support ARM64 architecture Runners

parent 2a2883ee
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -712,8 +712,9 @@ stages:
  function maybe_install_yq() {
    if ! command -v yq > /dev/null
    then
      arch=$(uname -m | sed -e 's/x86_64/amd64/' -e 's/aarch64/arm64/')
      yq_version=$(github_get_latest_version mikefarah/yq)
      yq_binary=yq_linux_amd64
      yq_binary=yq_linux_${arch}
      yq_url="https://github.com/mikefarah/yq/releases/download/${yq_version}/${yq_binary}.tar.gz"
      yq_cache="$XDG_CACHE_HOME/yq-$(echo "$yq_url" | md5sum | cut -d" " -f1)"