fix build
Build image / build (push) Waiting to run Details
Unit Tests with cargo / unit-test (push) Has been cancelled Details

This commit is contained in:
Alie 2024-01-29 14:31:24 +01:00
parent 7e3262eb24
commit 3a933daec8
2 changed files with 10 additions and 1 deletions

View File

@ -12,6 +12,7 @@ jobs:
run: apt update && apt install nodejs git -y run: apt update && apt install nodejs git -y
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: pwd && ls
- name: Get access token from secret - name: Get access token from secret
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml
- name: Check code - name: Check code

View File

@ -10,8 +10,16 @@ on:
jobs: jobs:
build: build:
container: 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: 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 - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Docker meta - name: Docker meta