added steamcmd images and update buildx to latest
This commit is contained in:
41
.github/workflows/steamcmd.yml
vendored
Normal file
41
.github/workflows/steamcmd.yml
vendored
Normal 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 }}
|
Reference in New Issue
Block a user