Skip to content

test

test #11

Workflow file for this run

name: build games
on:
workflow_dispatch:
push:
branches:
- master
paths:
- games/**
jobs:
push:
name: "games:${{ matrix.game }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
game:
- source
- rust
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: Tolfix
password: ${{ secrets.CR_PAT }}
- uses: docker/build-push-action@v4
with:
context: ./games/${{ matrix.game }}
file: ./games/${{ matrix.game }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/tolfix/games:${{ matrix.game }}