Games: minetest for arm64 and amd64
This commit is contained in:
37
.github/workflows/games.yml
vendored
37
.github/workflows/games.yml
vendored
@@ -9,8 +9,8 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- games/**
|
- games/**
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
pushAMD64:
|
||||||
name: "games:${{ matrix.game }}"
|
name: "games_AMD64:${{ matrix.game }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -19,7 +19,6 @@ jobs:
|
|||||||
- altv
|
- altv
|
||||||
- arma3
|
- arma3
|
||||||
- dayz
|
- dayz
|
||||||
- minetest
|
|
||||||
- mohaa
|
- mohaa
|
||||||
- samp
|
- samp
|
||||||
- source
|
- source
|
||||||
@@ -35,7 +34,7 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
- uses: docker/build-push-action@v3
|
- uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: ./games/${{ matrix.game }}
|
context: ./games/${{ matrix.game }}
|
||||||
file: ./games/${{ matrix.game }}/Dockerfile
|
file: ./games/${{ matrix.game }}/Dockerfile
|
||||||
@@ -43,3 +42,33 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/parkervcp/games:${{ matrix.game }}
|
ghcr.io/parkervcp/games:${{ matrix.game }}
|
||||||
|
pushAll:
|
||||||
|
name: "games_All:${{ matrix.tag }}"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag:
|
||||||
|
- minetest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@2
|
||||||
|
with:
|
||||||
|
platforms: arm64,amd64
|
||||||
|
- uses: docker/setup-buildx-action@v2
|
||||||
|
with:
|
||||||
|
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@v4
|
||||||
|
with:
|
||||||
|
context: ./games/${{ matrix.tag }}
|
||||||
|
file: ./games/${{ matrix.tag }}/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/parkervcp/games:${{ matrix.game }}
|
@@ -5,7 +5,6 @@ RUN apt update -y \
|
|||||||
&& apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \
|
&& apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \
|
||||||
&& useradd -d /home/container -m container
|
&& useradd -d /home/container -m container
|
||||||
|
|
||||||
|
|
||||||
RUN add-apt-repository -y ppa:minetestdevs/stable
|
RUN add-apt-repository -y ppa:minetestdevs/stable
|
||||||
RUN apt update && apt -y install minetest
|
RUN apt update && apt -y install minetest
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user