test pushing to container repo
ci/woodpecker/push/woodpecker Pipeline failed Details

main
Jean-Marie Mineau 2023-05-23 14:19:52 +02:00
parent 15517af607
commit 1060dfbcc1
2 changed files with 10 additions and 2 deletions

View File

@ -15,11 +15,19 @@ pipeline:
pull: true pull: true
commands: commands:
- nix build --experimental-features 'nix-command flakes' - 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: when:
matrix: matrix:
PYTHON_VERSION: 3.10 # Still not sure about how to make flake for different python version 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: matrix:
PYTHON_VERSION: PYTHON_VERSION:
- 3.10 - 3.10

View File

@ -9,7 +9,7 @@ def main():
parser = argparse.ArgumentParser(prog="test_p2n") parser = argparse.ArgumentParser(prog="test_p2n")
parser.add_argument("file", type=Path) parser.add_argument("file", type=Path)
args = parser.parse_args() args = parser.parse_args()
print("plop") print("plopliplop")
fig, (ax1, ax2) = plt.subplots(2, 1) fig, (ax1, ax2) = plt.subplots(2, 1)
# make a little extra space between the subplots # make a little extra space between the subplots
fig.subplots_adjust(hspace=0.5) fig.subplots_adjust(hspace=0.5)