mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +00:00
This commit removes docker images that are non-unique/better maintained in the parent/upstream repository. The ones removed were poorly maintained/kept up to date with the ones in the parent repository. Going forward only unique repositories or ones with substantial changes will be published and hosted in this repository.
40 lines
918 B
YAML
40 lines
918 B
YAML
name: build games
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 1'
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- games/**
|
|
jobs:
|
|
pushAMD64:
|
|
name: 'games_AMD64:${{ matrix.game }}'
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
game:
|
|
- fivem
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker/setup-buildx-action@v3
|
|
with:
|
|
buildkitd-flags: --debug
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: docker/build-push-action@v5
|
|
with:
|
|
context: ./games/${{ matrix.game }}
|
|
file: ./games/${{ matrix.game }}/Dockerfile
|
|
platforms: linux/amd64
|
|
push: true
|
|
tags: |
|
|
ghcr.io/darksaid98/games:${{ matrix.game }}
|
|
|