From 3a933daec80dddafd96f5921b77d67c58a5fbf83 Mon Sep 17 00:00:00 2001 From: Alie Date: Mon, 29 Jan 2024 14:31:24 +0100 Subject: [PATCH] fix build --- .gitea/workflows/01_test.yaml | 1 + .gitea/workflows/02_build.yaml | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/01_test.yaml b/.gitea/workflows/01_test.yaml index 8140971..549fd7e 100644 --- a/.gitea/workflows/01_test.yaml +++ b/.gitea/workflows/01_test.yaml @@ -12,6 +12,7 @@ jobs: run: apt update && apt install nodejs git -y - name: Check out repository code uses: actions/checkout@v3 + - run: pwd && ls - name: Get access token from secret run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml - name: Check code diff --git a/.gitea/workflows/02_build.yaml b/.gitea/workflows/02_build.yaml index a057fbb..3bf6b63 100644 --- a/.gitea/workflows/02_build.yaml +++ b/.gitea/workflows/02_build.yaml @@ -10,8 +10,16 @@ on: jobs: build: container: - image: node:18 + image: docker:dind + volumes: + - /data/.cache/act:/data/.cache/act + - /var/lib/docker/image:/var/lib/docker/image + - /var/lib/docker/overlay2:/var/lib/docker/overlay2 steps: + - name: Starting docker daemon + run: docker-init -- dockerd --host=unix:///var/run/docker.sock & + - name: Installing necessary packages + run: apk add nodejs git curl bash - name: Checkout uses: actions/checkout@v3 - name: Docker meta