From 0908fc77c4644445afafd33e01023597778036b7 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 5 Apr 2024 17:39:44 +1100 Subject: [PATCH] Added gitea CI/CD configuration --- .gitea/workflows/build_docker.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index d0cb82b..0c28544 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -6,7 +6,9 @@ jobs: build: name: Build Docker Image runs-on: docker-x86 - container: docker:dind + container: + image: docker:dind + privileged: true env: BRANCH: master VERSION: 8.3-fpm @@ -19,6 +21,7 @@ jobs: if [ ! -d build-cache ]; then mkdir build-cache; fi if [ -n "${HTTP_PROXY}" ]; then echo "HTTP PROXY [${HTTP_PROXY}]"; sed -i -e s'/https/http/' /etc/apk/repositories; fi apk add git curl nodejs + ( dockerd --host=tcp://0.0.0.0:2375 --tls=false & ) && sleep 3 docker info && docker version # env|sort # docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" "$CI_SERVER_HOST"