From 2421b93730130040f4fc04605b7cbc3c8a65fda6 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Mon, 2 Mar 2026 01:28:25 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8d56e1..490b8cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,15 +33,8 @@ 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/builder:latest + image: r.sectorq.eu/jaydee/builder:amd64 script: - - mkdir -p ~/.ssh - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa - - chmod 600 ~/.ssh/id_rsa - - pip install uuid - #- pyinstaller --onefile --add-data "port.py:." portainer.py - - rm -rf build dist *.spec - - python3 main.py -h - pyinstaller --onefile --clean -n portainer main.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@192.168.77.12:/myapps/bin/ || true @@ -58,15 +51,8 @@ build-job: # This job runs in the build stage, which runs first. - if: '$CI_COMMIT_MESSAGE =~ /build/' build-job-arm: # This job runs in the build stage, which runs first. stage: build - image: r.sectorq.eu/jaydee/builder-arm:latest + image: r.sectorq.eu/jaydee/builder:arm64 script: - - mkdir -p ~/.ssh - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa - - chmod 600 ~/.ssh/id_rsa - - pip install uuid - #- pyinstaller --onefile --add-data "port.py:." portainer.py - - rm -rf build dist *.spec - - python3 main.py -h - pyinstaller --onefile --clean -n portainer_arm main.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_arm jd@192.168.77.12:/myapps/bin/ || true