mirror of
https://github.com/bplein/factorio-docker.git
synced 2024-12-02 09:12:04 +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:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
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-arg", f"SHA256={sha256}", "."]
|
||||
for tag in tags:
|
||||
build_command.extend(["-t", f"factoriotools/factorio:{tag}"])
|
||||
build_command.extend(["-t", f"bplein/factorio:{tag}"])
|
||||
try:
|
||||
subprocess.run(build_command, cwd=build_dir, check=True)
|
||||
except subprocess.CalledProcessError:
|
||||
@ -50,7 +50,7 @@ def main(push_tags=False):
|
||||
continue
|
||||
for tag in tags:
|
||||
try:
|
||||
subprocess.run(["docker", "push", f"factoriotools/factorio:{tag}"],
|
||||
subprocess.run(["docker", "push", f"bplein/factorio:{tag}"],
|
||||
check=True)
|
||||
except subprocess.CalledProcessError:
|
||||
print("Docker push failed")
|
||||
|
Loading…
Reference in New Issue
Block a user