Skip to content

Commit

Permalink
Merge pull request #163 from jp00p/docker-yq-fix
Browse files Browse the repository at this point in the history
Another attempt at fixing yq in arm64
  • Loading branch information
mathew-fleisch committed Jul 14, 2022
2 parents de677df + 813187b commit d5d9bff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN rm /bin/sh && ln -s /bin/bash /bin/sh \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/bin/python3 /usr/local/bin/python \
&& OS=$(uname | tr [[:upper:]] [[:lower:]]) \
&& if [[ "$(uname -m)" =~ aarch64|arm64 ]]; then ARCH=arm64; else ARCH=amd64; fi \
&& if [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "arm64" ]; then ARCH=arm64; else ARCH=amd64; fi \
&& YQ_VERSION=$(curl --silent "https://api.github.com/repos/mikefarah/yq/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') \
&& wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${OS}_${ARCH} -O /usr/local/bin/yq \
&& chmod +x /usr/local/bin/yq
Expand Down
4 changes: 2 additions & 2 deletions charts/agimus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: agimus
description: A helm chart for a discord bot that also runs a mysql db
type: application
version: v0.2.12
appVersion: v0.2.12
version: v0.2.13
appVersion: v0.2.13

0 comments on commit d5d9bff

Please sign in to comment.