Upload to GitLab

This commit is contained in:
Nyeki.py
2024-12-26 01:00:35 -03:00
parent 4ef575b391
commit 11fad1c270
14 changed files with 123 additions and 62 deletions
+2 -2
View File
@@ -20,12 +20,12 @@ version_num = version[1]
targets = ["tasks", "shard"]
for t in targets:
tag = f"git.nyeki.dev/payphone/payphone-{t}:v{version_num}"
tag = f"registry.nyeki.dev/payphone/payphone/{t}:v{version_num}"
os.system(f"docker build --target {t} --tag {tag} .")
os.system(f"docker push {tag}")
tag = f"git.nyeki.dev/payphone/payphone-{t}:latest"
tag = f"registry.nyeki.dev/payphone/payphone/{t}:latest"
os.system(f"docker build --target {t} --tag {tag} .")
os.system(f"docker push {tag}")