Merge pull request #83 from parkervcp/mumble-arm64-build
add mumble to be build on arm
This commit is contained in:
33
.github/workflows/voice.yml
vendored
33
.github/workflows/voice.yml
vendored
@@ -9,7 +9,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- voice/**
|
- voice/**
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
pushx64:
|
||||||
name: "yolks:voice_${{ matrix.tag }}"
|
name: "yolks:voice_${{ matrix.tag }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@@ -17,7 +17,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
tag:
|
tag:
|
||||||
- teaspeak
|
- teaspeak
|
||||||
- mumble
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: docker/setup-buildx-action@v2
|
- uses: docker/setup-buildx-action@v2
|
||||||
@@ -37,3 +36,33 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/parkervcp/yolks:voice_${{ matrix.tag }}
|
ghcr.io/parkervcp/yolks:voice_${{ matrix.tag }}
|
||||||
|
|
||||||
|
pushx64_arm64:
|
||||||
|
name: "yolks:voice_${{ matrix.tag }}"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag:
|
||||||
|
- mumble
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
# Setup QEMU for ARM64 Build
|
||||||
|
- uses: docker/setup-qemu-action@v1
|
||||||
|
- uses: docker/setup-buildx-action@v2
|
||||||
|
with:
|
||||||
|
version: "v0.8.2"
|
||||||
|
buildkitd-flags: --debug
|
||||||
|
- uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
context: ./voice/${{ matrix.tag }}
|
||||||
|
file: ./voice/${{ matrix.tag }}/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/parkervcp/yolks:voice_${{ matrix.tag }}
|
||||||
|
@@ -221,8 +221,9 @@ is tagged correctly.
|
|||||||
* `ghcr.io/parkervcp/yolks:rust_latest`
|
* `ghcr.io/parkervcp/yolks:rust_latest`
|
||||||
|
|
||||||
### [Voice](/voice)
|
### [Voice](/voice)
|
||||||
|
* [`Mumble`](/voice/mumble)
|
||||||
* [`TeaSpeak`](/teaspeak)
|
* `ghcr.io/parkervcp/yolks:voice_mumble`
|
||||||
|
* [`TeaSpeak`](/voice/teaspeak)
|
||||||
* `ghcr.io/parkervcp/yolks:voice_teaspeak`
|
* `ghcr.io/parkervcp/yolks:voice_teaspeak`
|
||||||
|
|
||||||
### [Wine](/wine)
|
### [Wine](/wine)
|
||||||
|
@@ -15,4 +15,4 @@ ENV USER=container HOME=/home/container
|
|||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
CMD ["/bin/ash", "/entrypoint.sh"]
|
||||||
|
@@ -5,8 +5,6 @@ cd /home/container
|
|||||||
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
||||||
export INTERNAL_IP
|
export INTERNAL_IP
|
||||||
|
|
||||||
# Print current Rust version
|
|
||||||
cargo --version
|
|
||||||
|
|
||||||
# Replace Startup Variables
|
# Replace Startup Variables
|
||||||
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
|
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
|
||||||
|
Reference in New Issue
Block a user