]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Fix CI build
authorBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 11 Mar 2024 08:54:09 +0000 (09:54 +0100)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 11 Mar 2024 09:00:37 +0000 (10:00 +0100)
.github/workflows/dockerhub.yml
.github/workflows/integration.yml
.github/workflows/release.yml
Dockerfile

index 5f31708b8a2423cf96047bd101b0596ad7c24b78..4043a2c4f1bc6ed91ed1a24fc6277f978827d63b 100644 (file)
@@ -50,4 +50,4 @@ jobs:
           tags: |
             b4bz/homer:${{env.IMAGE_TAG}}
             ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
-          platforms: linux/amd64,linux/arm/v7,linux/arm64
+          platforms: linux/amd64,linux/arm/v7,linux/arm/v6,linux/arm64
index 3177a5ef07c56e79d16829e80c4c634887c002c7..937bc8985f84cfdbada7ef4f8df71f9994a08c3a 100644 (file)
@@ -22,16 +22,16 @@ jobs:
     steps:
     - 
       name: Checkout
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - 
       name: Use Node.js ${{ matrix.node-version }}
-      uses: actions/setup-node@v2
+      uses: actions/setup-node@v4
       with:
         node-version: ${{ matrix.node-version }}
         cache: 'yarn'
     - 
       name: install dependencies
-      run: yarn install
+      run: yarn install --frozen-lockfile --non-interactive
     - 
       name: Check code style & potentential issues
       run: yarn lint
index d554a5f987097f14ee14d0857cb12bea6f956bf7..44a128d0869db3778c93e36651fbb1d76d1142d6 100644 (file)
@@ -12,11 +12,11 @@ jobs:
     steps:
       - 
         name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - 
         name: Build project
         run: |
-          yarn install
+          yarn install --frozen-lockfile --non-interactive
           yarn build
       - 
         name: Create artifact
@@ -25,7 +25,7 @@ jobs:
       - 
         name: Create Release
         id: create_release
-        uses: softprops/action-gh-release@v1
+        uses: softprops/action-gh-release@v2
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
           generate_release_notes: true
index 6a6d741e255a51e91f88f4537b6e89cee4bcab75..58d08dcf5207d0a19a16ec8c41d574420667f127 100644 (file)
@@ -3,8 +3,8 @@ FROM node:lts-alpine3.19 as build-stage
 
 WORKDIR /app
 
-COPY package*.json ./
-RUN yarn install --frozen-lockfile
+COPY package.json ./
+RUN yarn install --frozen-lockfile --non-interactive
 
 COPY . .
 RUN yarn build