mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 21:53:17 +00:00
add ci pipeline
This commit is contained in:
parent
1073447e73
commit
7c0f3f9aee
2
ci.py
2
ci.py
|
@ -36,7 +36,7 @@ def podman_online(dir, *args):
|
||||||
])
|
])
|
||||||
|
|
||||||
def podman_ci(dir, *args):
|
def podman_ci(dir, *args):
|
||||||
subprocess.run(["podman", "run", "-it", "--rm", "--privileged", f"--workdir={dir}",
|
subprocess.run(["podman", "run", "--rm", "--privileged", f"--workdir={dir}",
|
||||||
"-v", os.getcwd() + f":{CONTAINER_HOME}/src:U",
|
"-v", os.getcwd() + f":{CONTAINER_HOME}/src:U",
|
||||||
CONTAINER_IMAGE, "bash", "-c", ' '.join(args)
|
CONTAINER_IMAGE, "bash", "-c", ' '.join(args)
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue