From daf219329ac95d5498208398110574ee8bc20d32 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Tue, 23 Dec 2025 13:15:47 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e4eda0..d97e18b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,12 +37,12 @@ build-job: # This job runs in the build stage, which runs first. - echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - ls -la - - pyinstaller --onefile --clean --paths=. --hidden-import=portainer_api --collect-submodules=portainer_api portainer.py + - pyinstaller --onefile portainer.py - strings dist/portainer | grep portainer_api || true - 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@192.168.77.12:/myapps/bin/ || true - scp -o ConnectTimeout=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.77.101:/myapps/bin/ || true - - rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.tmp + - rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.* artifacts: paths: - dist/