Merge remote-tracking branch 'origin/master' into mohaa

This commit is contained in:
Th3Dilli
2022-05-13 21:17:32 +02:00
49 changed files with 331 additions and 65 deletions

View File

@@ -19,7 +19,9 @@ jobs:
- altv
- arma3
- mohaa
- samp
- source
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1

View File

@@ -20,6 +20,7 @@ jobs:
- 14
- 16
- 17
- 18
steps:
- uses: actions/checkout@v2
# Setup QEMU for ARM64 Build

43
.github/workflows/rust.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: build rust
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
push:
branches:
- master
paths:
- rust/**
jobs:
push:
name: "yolks:rust_${{ matrix.tag }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag:
- '1.31'
- '1.56'
- '1.60'
- 'latest'
steps:
- uses: actions/checkout@v2
# Setup QEMU for ARM64 Build
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
with:
version: "v0.5.1"
buildkitd-flags: --debug
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v2
with:
context: ./rust
file: ./rust/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/parkervcp/yolks:rust_${{ matrix.tag }}