I'd like to automate the building of Factorio docker containers so that there's a Dockerhub repo that contains tagged images based on the game version. I'm struggling to find a reliable way to determine if the version has been incremented. Yes I can parse the HTML on the downloads page and go through something like that, but it's a bit of a messy approach and I'd prefer to have something more reliable.
https://steamdb.info/app/427520/depots/ ... perimental contains some good information on versions but would still involve parsing HTML on the page. I'd prefer a much more programatically reliable way to accomplish this. Is there an approach the team would recommend?
The steam API (http://api.steampowered.com/ISteamUserS ... pid=427520) says the current "game version" is "14". I'd prefer to have the images tagged semantically.
https://steamdb.info/forum/133/how-do-i ... n-changes/ says something about the dev team enabling an api endpoint, but the version isn't semantically formatted.
Factorio Docker containers
Re: Factorio Docker containers
If you prefer parsing JSON: https://www.factorio.com/updater/get-av ... iVersion=2
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: Factorio Docker containers
Perfect, is there a similar option for experimental builds?
Re: Factorio Docker containers
That information is already in there: versions later than the one labeled "stable" are experimental.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!