From 8a4d4da6417997d4137e15f74074dfd41d5ac2dd Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 7 Apr 2024 12:38:17 +1000 Subject: [PATCH] Added gitea CI/CD configuration --- .gitea/workflows/build_docker.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index f22fe4a..ebe86f7 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -62,6 +62,15 @@ jobs: needs: build steps: + - name: Environment Setup + run: | + # If we have a proxy use it + if [ -n "${HTTP_PROXY}" ]; then echo "HTTP PROXY [${HTTP_PROXY}]"; sed -i -e s'/https/http/' /etc/apk/repositories; fi + # Some pre-reqs + apk add git curl nodejs + # Start docker + ( dockerd --host=tcp://0.0.0.0:2375 --tls=false & ) && sleep 3 + - name: Registry FQDN Setup id: registry run: |