mirror of
https://github.com/bplein/factorio-docker.git
synced 2024-12-04 10:34:41 +02:00
update for my own repo
changed factoriotools/factorio to bplein/factorio
This commit is contained in:
parent
b83f362d0c
commit
3dfeee4696
2
.github/workflows/docker-description.yml
vendored
2
.github/workflows/docker-description.yml
vendored
@ -20,4 +20,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: factoriotools/factorio
|
repository: bplein/factorio
|
||||||
|
4
build.py
4
build.py
@ -14,7 +14,7 @@ def build_dockerfile(sha256, version, tags):
|
|||||||
build_command = ["docker", "build", "--build-arg", f"VERSION={version}",
|
build_command = ["docker", "build", "--build-arg", f"VERSION={version}",
|
||||||
"--build-arg", f"SHA256={sha256}", "."]
|
"--build-arg", f"SHA256={sha256}", "."]
|
||||||
for tag in tags:
|
for tag in tags:
|
||||||
build_command.extend(["-t", f"factoriotools/factorio:{tag}"])
|
build_command.extend(["-t", f"bplein/factorio:{tag}"])
|
||||||
try:
|
try:
|
||||||
subprocess.run(build_command, cwd=build_dir, check=True)
|
subprocess.run(build_command, cwd=build_dir, check=True)
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
@ -50,7 +50,7 @@ def main(push_tags=False):
|
|||||||
continue
|
continue
|
||||||
for tag in tags:
|
for tag in tags:
|
||||||
try:
|
try:
|
||||||
subprocess.run(["docker", "push", f"factoriotools/factorio:{tag}"],
|
subprocess.run(["docker", "push", f"bplein/factorio:{tag}"],
|
||||||
check=True)
|
check=True)
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
print("Docker push failed")
|
print("Docker push failed")
|
||||||
|
Loading…
Reference in New Issue
Block a user