mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 22:23:39 +00:00
feat(games/fivem): add custom docker image
This commit is contained in:
3 files changed
+134
-8
No files matched your search
@@ -9,20 +9,23 @@ on:
|
||||
paths:
|
||||
- games/**
|
||||
jobs:
|
||||
pushAll:
|
||||
name: "games_All:${{ matrix.game }}"
|
||||
pushAMD64:
|
||||
name: "games_AMD64:${{ matrix.game }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
game:
|
||||
- valheim
|
||||
- altv
|
||||
- arma3
|
||||
- dayz
|
||||
- fivem
|
||||
- mohaa
|
||||
- samp
|
||||
- source
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
with:
|
||||
platforms: arm64
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
buildkitd-flags: --debug
|
||||
@@ -35,7 +38,37 @@ jobs:
|
||||
with:
|
||||
context: ./games/${{ matrix.game }}
|
||||
file: ./games/${{ matrix.game }}/Dockerfile
|
||||
platforms: linux/arm64
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/darksaid98/games:${{ matrix.game }}
|
||||
pushAll:
|
||||
name: "games_All:${{ matrix.game }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
game:
|
||||
- minetest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
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.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./games/${{ matrix.game }}
|
||||
file: ./games/${{ matrix.game }}/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/darksaid98/games:${{ matrix.game }}
|
||||
Reference in new issue
Block a user