diff --git a/.drone.yml b/.drone.yml index abfb74b..ae9a932 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,14 @@ type: kubernetes name: Build on Multiple Distributions steps: + - name: clone-repo + image: docker pull alpine/git + commands: + - git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts + volumes: + - name: artifacts + path: /artifacts + - name: build-on-arch image: archlinux:latest commands: @@ -11,7 +19,6 @@ steps: - mv /lib/python3*/EXTERNALLY-MANAGED . - pip install --upgrade pip - pip install pyinstaller inquirerpy distro - - git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts - cd /artifacts - pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py volumes: @@ -33,7 +40,6 @@ steps: - apt install -y git python3 python3-pip binutils - mv /lib/python*/EXTERNALLY-MANAGED . - pip install pyinstaller inquirerpy distro - - git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts - cd /artifacts - pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py volumes: @@ -54,7 +60,6 @@ steps: - dnf up -y - dnf install -y git python python-pip binutils - pip install inquirerpy distro pyinstaller - - git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts - cd /artifacts - pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py volumes: