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
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
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
-
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
WORKDIR /app
-COPY package*.json ./
-RUN yarn install --frozen-lockfile
+COPY package.json ./
+RUN yarn install --frozen-lockfile --non-interactive
COPY . .
RUN yarn build