Build #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |