Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 12s

This commit is contained in:
Deon George 2024-04-05 17:39:44 +11:00
parent adbace3552
commit 0908fc77c4

View File

@ -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"