1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2024-12-12 11:14:55 +02:00

update for my own repo

changed factoriotools/factorio to bplein/factorio
This commit is contained in:
Bill Plein 2023-03-05 14:24:23 -06:00
parent b83f362d0c
commit 3dfeee4696
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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")