aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2024-03-11 09:54:09 +0100
committerBastien Wirtz <bastien.wirtz@gmail.com>2024-03-11 10:00:37 +0100
commitbcebb3e67ef546071d4a455ba4661d6a51152871 (patch)
treef88f3c15ee1f6c6c499837972fbdb5cbb4edda49
parent5f5a508b6eae6596dd46c09e25dedbc42d433740 (diff)
downloadhomer-bcebb3e67ef546071d4a455ba4661d6a51152871.tar.gz
homer-bcebb3e67ef546071d4a455ba4661d6a51152871.tar.zst
homer-bcebb3e67ef546071d4a455ba4661d6a51152871.zip
Fix CI build
-rw-r--r--.github/workflows/dockerhub.yml2
-rw-r--r--.github/workflows/integration.yml6
-rw-r--r--.github/workflows/release.yml6
-rw-r--r--Dockerfile4
4 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml
index 5f31708..4043a2c 100644
--- a/.github/workflows/dockerhub.yml
+++ b/.github/workflows/dockerhub.yml
@@ -50,4 +50,4 @@ jobs:
50 tags: | 50 tags: |
51 b4bz/homer:${{env.IMAGE_TAG}} 51 b4bz/homer:${{env.IMAGE_TAG}}
52 ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }} 52 ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
53 platforms: linux/amd64,linux/arm/v7,linux/arm64 53 platforms: linux/amd64,linux/arm/v7,linux/arm/v6,linux/arm64
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index 3177a5e..937bc89 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -22,16 +22,16 @@ jobs:
22 steps: 22 steps:
23 - 23 -
24 name: Checkout 24 name: Checkout
25 uses: actions/checkout@v3 25 uses: actions/checkout@v4
26 - 26 -
27 name: Use Node.js ${{ matrix.node-version }} 27 name: Use Node.js ${{ matrix.node-version }}
28 uses: actions/setup-node@v2 28 uses: actions/setup-node@v4
29 with: 29 with:
30 node-version: ${{ matrix.node-version }} 30 node-version: ${{ matrix.node-version }}
31 cache: 'yarn' 31 cache: 'yarn'
32 - 32 -
33 name: install dependencies 33 name: install dependencies
34 run: yarn install 34 run: yarn install --frozen-lockfile --non-interactive
35 - 35 -
36 name: Check code style & potentential issues 36 name: Check code style & potentential issues
37 run: yarn lint 37 run: yarn lint
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d554a5f..44a128d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,11 +12,11 @@ jobs:
12 steps: 12 steps:
13 - 13 -
14 name: Checkout 14 name: Checkout
15 uses: actions/checkout@v3 15 uses: actions/checkout@v4
16 - 16 -
17 name: Build project 17 name: Build project
18 run: | 18 run: |
19 yarn install 19 yarn install --frozen-lockfile --non-interactive
20 yarn build 20 yarn build
21 - 21 -
22 name: Create artifact 22 name: Create artifact
@@ -25,7 +25,7 @@ jobs:
25 - 25 -
26 name: Create Release 26 name: Create Release
27 id: create_release 27 id: create_release
28 uses: softprops/action-gh-release@v1 28 uses: softprops/action-gh-release@v2
29 with: 29 with:
30 token: ${{ secrets.GITHUB_TOKEN }} 30 token: ${{ secrets.GITHUB_TOKEN }}
31 generate_release_notes: true 31 generate_release_notes: true
diff --git a/Dockerfile b/Dockerfile
index 6a6d741..58d08dc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,8 +3,8 @@ FROM node:lts-alpine3.19 as build-stage
3 3
4WORKDIR /app 4WORKDIR /app
5 5
6COPY package*.json ./ 6COPY package.json ./
7RUN yarn install --frozen-lockfile 7RUN yarn install --frozen-lockfile --non-interactive
8 8
9COPY . . 9COPY . .
10RUN yarn build 10RUN yarn build