Add 3.14-alpine image
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.13.2-alpine
|
FROM python:3.14-alpine
|
||||||
|
|
||||||
RUN pip install uv
|
RUN pip install uv
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
FROM python:3.13.2-alpine
|
||||||
|
|
||||||
|
RUN pip install uv
|
||||||
|
|
||||||
|
ENTRYPOINT [ "python3", "-m", "uv", "run", "--no-dev" ]
|
||||||
+4
-4
@@ -45,11 +45,11 @@ def build_image(variation: str, tag: str) -> bool:
|
|||||||
]
|
]
|
||||||
|
|
||||||
if os.system(" && ".join(commands)) == 0:
|
if os.system(" && ".join(commands)) == 0:
|
||||||
print(f"[green]Successfully built and pushed![/]")
|
print("[green]Successfully built and pushed![/]")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print(f"[red]The image couldn't be built or pushed.[/]")
|
print("[red]The image couldn't be built or pushed.[/]")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
@@ -61,13 +61,13 @@ if tag == "all":
|
|||||||
successes += 1
|
successes += 1
|
||||||
|
|
||||||
if successes == len(tags):
|
if successes == len(tags):
|
||||||
print(f"[green]All tags were successfully built and pushed.[/]")
|
print("[green]All tags were successfully built and pushed.[/]")
|
||||||
|
|
||||||
elif successes != 0:
|
elif successes != 0:
|
||||||
print(f"[yellow]Only {successes}/{len(tags)} tags could be built and pushed.[/]")
|
print(f"[yellow]Only {successes}/{len(tags)} tags could be built and pushed.[/]")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print(f"[red]No tag could be built nor pushed.[/]")
|
print("[red]No tag could be built nor pushed.[/]")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
build_image(variation, tag)
|
build_image(variation, tag)
|
||||||
|
|||||||
Reference in New Issue
Block a user