File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ services:
4
4
build :
5
5
context : .
6
6
args :
7
- # Check buildinfo.json for supported versions and SHAs
8
- # https://github.com/factoriotools/factorio-docker/blob/master/buildinfo.json
9
- - VERSION=1.1.61
10
- - SHA256=68e4ac8d33b195701c15a23e3d8e65676ef8be25f140657678122f211c60b659
7
+ # Check buildinfo.json for supported versions and SHAs
8
+ # https://github.com/factoriotools/factorio-docker/blob/master/buildinfo.json
9
+ - VERSION=1.1.87
10
+ - SHA256=60b3884b6dad1f4c7b30b7ef2b63619ff4a3204ac7fd894cf09d382b349857cc
11
11
ports :
12
- - " 34197:34197/udp"
13
- - " 27015:27015/tcp"
12
+ - " 34197:34197/udp"
13
+ - " 27015:27015/tcp"
14
14
volumes :
15
- - /opt/factorio:/factorio
15
+ - /opt/factorio:/factorio
16
16
# environment:
17
17
# - PUID=1000
18
18
# - PGID=1000
Original file line number Diff line number Diff line change @@ -89,11 +89,17 @@ done && printf "%s\n\n" "$tags"))
89
89
90
90
perl -i -0777 -pe " s/<!-- start autogeneration tags -->.+<!-- end autogeneration tags -->/<!-- start autogeneration tags -->$readme_tags <!-- end autogeneration tags -->/s" README.md
91
91
92
+ # Replace VERSION and SHA256 args in docker-compose.yaml with latest stable values.
93
+ docker_compose_path=" docker/docker-compose.yml"
94
+ sov=" VERSION=${stable_online_version} " yq -i ' .services.factorio.build.args[0] = env(sov)' " $docker_compose_path "
95
+ sha=" SHA256=${stable_sha256} " yq -i ' .services.factorio.build.args[1] = env(sha)' " $docker_compose_path "
96
+
92
97
git config user.name github-actions[bot]
93
98
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
94
99
95
100
git add buildinfo.json
96
101
git add README.md
102
+ git add docker/docker-compose.yml
97
103
git commit -a -m " Auto Update Factorio to stable version: ${stable_online_version} experimental version: ${experimental_online_version} "
98
104
99
105
git tag -f latest
You can’t perform that action at this time.
0 commit comments