From 0966933877aaa9a97849355c028cdbdc87036d2f Mon Sep 17 00:00:00 2001 From: Kyle Speight Date: Mon, 22 Sep 2025 11:39:28 -0700 Subject: [PATCH] Update steamcmd.yml --- .github/workflows/steamcmd.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/steamcmd.yml b/.github/workflows/steamcmd.yml index e59d4ea..448c5c0 100644 --- a/.github/workflows/steamcmd.yml +++ b/.github/workflows/steamcmd.yml @@ -48,3 +48,12 @@ jobs: tags: | ghcr.io/${{ steps.lower-repo.outputs.repository }}/steamcmd:${{ matrix.distro }} ${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/steamcmd:{0}', matrix.distro) || '' }} + # Enable caching for faster builds (reuses layers across runs) + cache-from: type=gha + cache-to: type=gha,mode=max + # Add build args if needed for multi-platform or custom vars (e.g., for TARGETOS/TARGETARCH) + build-args: | + TARGETOS=linux + TARGETARCH=amd64 + # Optional: Disable push on failure for debugging (set to false to always push if build succeeds) + # outputs: type=image,name=image-${{ matrix.distro }},id=image-${{ matrix.distro }}-id