From d9ddde14db88901878882d3f995a0861348d7db6 Mon Sep 17 00:00:00 2001
From: Daniel Sali <daniel.sali@alphacruncher.com>
Date: Fri, 13 Dec 2024 14:49:31 +0100
Subject: [PATCH] CI/CD pipeline to build on main commit and publish to PyPI on
 release 12

---
 .gitlab-ci.yml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ab1c0b1..4a56be1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,15 +1,14 @@
 default:
-  image: 
-    name: python:3.11
-    entrypoint: ["/bin/bash -c"]
-
+  # image: python:3.11
   cache:
     paths:
       - .pip-cache/
   before_script:
     - python3 --version
-    - pip3 install --upgrade pip
-    - pip3 install build twine
+    - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
+    - python3 get-pip.py --user
+    - pip install --upgrade pip
+    - pip install build twine
 
 stages:
   - build
-- 
GitLab