Files
ZomboidForge/.gitea/workflows/release.yml
T
Overlord d0512eb480
ci / image (42.21, public) (push) Failing after 5m10s
added gitea action
2026-09-29 16:57:26 +02:00

39 lines
1.2 KiB
YAML

# Publishes an image for every new Steam build of each supported Project Zomboid
# version. Immutable tags are never overwritten (see ci/release.sh).
# Requires the repository secrets REGISTRY_USER and REGISTRY_TOKEN (a token with
# package write access) and a runner with a Docker (or Podman) CLI.
name: release
on:
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:
jobs:
image:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- pz_version: "42.21"
steam_branch: public
latest: "true"
steps:
- uses: actions/checkout@v4
- name: Log in to the registry
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: echo "${REGISTRY_TOKEN}" | docker login git.security-command.org --username "${REGISTRY_USER}" --password-stdin
- name: Build and publish
env:
IMAGE: git.security-command.org/overlord/zomboidforge
PZ_VERSION: ${{ matrix.pz_version }}
PZ_BRANCH: ${{ matrix.steam_branch }}
PUBLISH: "true"
LATEST: ${{ matrix.latest }}
run: ci/release.sh