Update .gitlab-ci.yml file

This commit is contained in:
2025-12-10 10:24:51 +01:00
parent b30094ca9d
commit 42b03a6fc7

View File

@@ -21,8 +21,11 @@ lint:
- if: '$CI_COMMIT_MESSAGE =~ /lint/'
build-job: # This job runs in the build stage, which runs first.
stage: build
image: r.sectorq.eu/jaydee/python-custom:latest
image: r.sectorq.eu/jaydee/builder-portainer:latest
script:
- mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- pyinstaller --onefile portainer.py
- scp -o ConnectTimeout=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.80.222:/myapps/bin/ || true
- scp -o ConnectTimeout=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@morefine.home.lan:/myapps/bin/ || true