Skip to content

Build

Build #56

Workflow file for this run

name: Build
# Rebuilds and pushes the image when the base image changes, replacing the
# deprecated Docker Hub autobuild. Built for amd64 to stay in line with the rest
# of the Didstopia server images. See:
# https://github.com/Didstopia/docker-base-images/blob/master/docs/downstream.md
on:
push:
branches: [master]
schedule:
- cron: "0 6 * * *" # daily base-change check
workflow_dispatch:
repository_dispatch:
types: [base-image-updated]
jobs:
image:
uses: Didstopia/docker-base-images/.github/workflows/downstream.yml@master
with:
image: didstopia/factorio-server
base-image: didstopia/base:nodejs-22-ubuntu-24.04
tags: latest
platforms: linux/amd64
# push and manual runs always build; the scheduled run only builds when
# the base image actually changed
force: ${{ github.event_name != 'schedule' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DIDSTOPIA_DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DIDSTOPIA_DOCKERHUB_TOKEN }}