Skip to content

Commit d83ea34

Browse files
committed
Fix formatting
1 parent 52f5928 commit d83ea34

File tree

2 files changed

+51
-52
lines changed

2 files changed

+51
-52
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [main] # Trigger on main branch pushes
6-
workflow_dispatch: # Manual trigger
4+
push:
5+
branches: [main] # Trigger on main branch pushes
6+
workflow_dispatch: # Manual trigger
77

88
jobs:
9-
format:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout code
13-
uses: actions/checkout@v4
14-
15-
- name: Setup Node.js
16-
uses: actions/setup-node@v4
17-
18-
- name: Enable Corepack
19-
run: corepack enable
20-
21-
- name: Install dependencies
22-
run: yarn install
23-
24-
- name: Check formatting
25-
run: yarn format:check
26-
27-
build:
28-
runs-on: ubuntu-latest
29-
permissions:
30-
contents: read
31-
packages: write # Required to push to GHCR
32-
id-token: write # Required for OIDC auth (optional for GHCR)
33-
steps:
34-
- name: Checkout code
35-
uses: actions/checkout@v4
36-
37-
- name: Log in to GHCR
38-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
39-
40-
- name: Build Docker image
41-
run: |
42-
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/listoor
43-
docker build -t $IMAGE_NAME:latest .
44-
45-
- name: Push to GHCR
46-
run: |
47-
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/listoor
48-
docker push $IMAGE_NAME:latest
49-
9+
format:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
18+
- name: Enable Corepack
19+
run: corepack enable
20+
21+
- name: Install dependencies
22+
run: yarn install
23+
24+
- name: Check formatting
25+
run: yarn format:check
26+
27+
build:
28+
runs-on: ubuntu-latest
29+
permissions:
30+
contents: read
31+
packages: write # Required to push to GHCR
32+
id-token: write # Required for OIDC auth (optional for GHCR)
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v4
36+
37+
- name: Log in to GHCR
38+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
39+
40+
- name: Build Docker image
41+
run: |
42+
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/listoor
43+
docker build -t $IMAGE_NAME:latest .
44+
45+
- name: Push to GHCR
46+
run: |
47+
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/listoor
48+
docker push $IMAGE_NAME:latest

podman-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
version: "3.8"
1+
version: '3.8'
22

33
services:
4-
listoor:
5-
image: ghcr.io/0xmichalis/listoor:latest
6-
container_name: listoor
7-
env_file:
8-
- .env
9-
volumes:
10-
- ./data/collections.json:/app/data/collections.json
4+
listoor:
5+
image: ghcr.io/0xmichalis/listoor:latest
6+
container_name: listoor
7+
env_file:
8+
- .env
9+
volumes:
10+
- ./data/collections.json:/app/data/collections.json

0 commit comments

Comments
 (0)