added steamcmd images and update buildx to latest

This commit is contained in:
gOOvER
2022-12-23 17:41:12 +01:00
parent a7c48061ba
commit 7d91253f57
26 changed files with 220 additions and 21 deletions

41
.github/workflows/steamcmd.yml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: build steamcmd
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
push:
branches:
- master
paths:
- steamcmd/**
jobs:
push:
name: "games:${{ matrix.distro }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- debian
- Ubuntu
- dotnet
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
with:
version: "v0.9.1"
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@v3
with:
context: ./steamcmd/${{ matrix.distro }}
file: ./steamcmd/${{ matrix.distro }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/parkervcp/steamcmd:${{ matrix.distro }}