feat(scripts): ✨ Log new tag when deploying.

This commit is contained in:
Nyeki.py
2024-11-05 00:51:19 -03:00
parent 8af01ae327
commit a7f64de5b4
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -31,6 +31,8 @@ for tag in tags:
if version > latest_version:
latest_version = version
print(f"Updating to tag v{version}...")
os.system(f"git pull https://{username}:{password}@git.nyeki.dev/payphone/payphone")
os.system(
f"microk8s kubectl set image sts/bot bot=git.nyeki.dev/payphone/payphone-shard:v{version}"