diff --git a/.woodpecker.yml b/.woodpecker.yml index d5ee0fb..ac844dc 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -15,11 +15,19 @@ pipeline: pull: true commands: - nix build --experimental-features 'nix-command flakes' - - nix build --experimental-features 'nix-command flakes' .#docker + - nix build -o image_link --experimental-features 'nix-command flakes' .#docker + - cp image_link image when: matrix: PYTHON_VERSION: 3.10 # Still not sure about how to make flake for different python version + push_container: + image: almalinux/podman:latest + pull: true + commands: + - podman login -u histausse -p $GITEA_TOKEN git.pains-perdus.fr + - podman push test_flake_poetry2nix:latest git.pains-perdus.fr/histausse/test_flake_poetry2nix:latest + matrix: PYTHON_VERSION: - 3.10 diff --git a/test_flake_poetry2nix/cli.py b/test_flake_poetry2nix/cli.py index 1441e88..61442e6 100644 --- a/test_flake_poetry2nix/cli.py +++ b/test_flake_poetry2nix/cli.py @@ -9,7 +9,7 @@ def main(): parser = argparse.ArgumentParser(prog="test_p2n") parser.add_argument("file", type=Path) args = parser.parse_args() - print("plop") + print("plopliplop") fig, (ax1, ax2) = plt.subplots(2, 1) # make a little extra space between the subplots fig.subplots_adjust(hspace=0.5)