Skip to content

Commit

Permalink
Chore: Deprecate ARM64
Browse files Browse the repository at this point in the history
I do not have a way to test it so it's pointless to build a container for the platform when I cannot verify if it even works.
  • Loading branch information
PassiveLemon committed Aug 17, 2024
1 parent eae4a97 commit 647139c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Get terraria release
id: get_terraria_release
run: |
TERRARIA=$(echo "${{ github.event.release.tag_name }}" | awk -F'-' '{print $1}')
TERRARIA="${{ github.event.release.tag_name }}"
TERRARIAFIX=$(echo \"$TERRARIA\" | jq 'gsub("\\."; "")')
echo "Latest terraria release is ${TERRARIA}." >> "$GITHUB_STEP_SUMMARY"
echo "latest_terraria=$TERRARIA" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Build the image
run: |
docker buildx create --name mainbuilder --driver docker-container --platform linux/amd64,linux/arm64 --use
docker buildx create --name mainbuilder --driver docker-container --platform linux/amd64 --use
docker buildx build --push \
--build-arg TERRARIAVERSION=${{ steps.get_terraria_release.outputs.latest_terraria }} \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update -y &&\
apt-get install -y bash grep curl unzip libicu-dev tmux jq netcat-openbsd

# Mono
RUN if [ "$TARGETARCH" = "arm64" ]; then apk add --no-cache mono --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing; fi
#RUN if [ "$TARGETARCH" = "arm64" ]; then apk add --no-cache mono --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing; fi

RUN mkdir -p /opt/terraria/server/ &&\
mkdir -p /opt/terraria/config/Worlds
Expand Down

0 comments on commit 647139c

Please sign in to comment.