Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more ARM images & include latest release in CI #42

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 5 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,19 @@ on: [ push, pull_request ]
# Note: As of now the strategy property is not supported when using reusable workflows, so we can't use a build
# matrix to create the different build cases (see https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations)
jobs:
build_1_4_230:
build_1_5_634:
uses: ./.github/workflows/build_and_publish.yml
with:
mumble_version: "v1.4.230"
mumble_version: "v1.5.634"
docker_version: '0'
publish: false
update_latest: false
platforms: "linux/amd64"
build_1_4_274:
uses: ./.github/workflows/build_and_publish.yml
with:
mumble_version: "v1.4.274"
docker_version: '0'
publish: false
update_latest: false
platforms: "linux/amd64"
build_1_4_287:
uses: ./.github/workflows/build_and_publish.yml
with:
mumble_version: "v1.4.287"
docker_version: '0'
publish: false
update_latest: false
platforms: "linux/amd64"
update_latest: true
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8"
build_latest:
uses: ./.github/workflows/build_and_publish.yml
with:
mumble_version: "latest"
docker_version: '0'
publish: false
update_latest: true
platforms: "linux/amd64,linux/arm64"
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8"
2 changes: 1 addition & 1 deletion .github/workflows/manual_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
docker_version: ${{ github.event.inputs.docker_version }}
publish: ${{ github.event.inputs.publish == 'true' }}
update_latest: ${{ github.event.inputs.update_latest == 'true' }}
platforms: "linux/amd64,linux/arm64"
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8"
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/upstream_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
docker_version: '0'
publish: true
update_latest: ${{ github.event.client_payload.is_latest }}
platforms: "linux/amd64,linux/arm64"
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8"
secrets: inherit
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04 as base
FROM ubuntu:22.04 as base

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y \
Expand Down Expand Up @@ -64,8 +64,8 @@ RUN /mumble/scripts/clone.sh && /mumble/scripts/build.sh \


FROM base
ARG MUMBLE_UID=1000
ARG MUMBLE_GID=1000
ARG MUMBLE_UID=10000
ARG MUMBLE_GID=10000

RUN groupadd --gid $MUMBLE_GID mumble && useradd --uid $MUMBLE_UID --gid $MUMBLE_GID mumble

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Docker container using [docker-compose](https://docs.docker.com/compose/). Thus,

In order for Mumble to store permanent data (most notably the database file (by default Mumble uses SQLite)), the image will use a
[volume](https://docs.docker.com/storage/volumes/) which is mapped to the `/data/` path inside the image. By default the image uses a user with UID
`1000` and GID of also `1000` but either can be adapted when building the image yourself (see below). You will have to make sure that all file
`10000` and GID of also `10000` but either can be adapted when building the image yourself (see below). You will have to make sure that all file
permissions are set up accordingly.

### Running the container
Expand Down