Skip to content

Commit 9be124f

Browse files
committed
fix(ignore): some fixes
1 parent 0ec283e commit 9be124f

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
--build-arg COMMIT=$(git rev-parse --short HEAD) \
6060
--platform linux/arm64/v8,linux/386,linux/amd64,linux/arm/v6,linux/arm/v7 \
6161
-f docker/Dockerfile \
62-
--provenance=false \
62+
--provenance=max \
6363
--push \
6464
-t koenkk/zigbee2mqtt:latest-dev -t ghcr.io/koenkk/zigbee2mqtt:latest-dev \
6565
.
@@ -71,7 +71,7 @@ jobs:
7171
--build-arg COMMIT=$(git rev-parse --short HEAD) \
7272
--platform linux/arm64/v8,linux/386,linux/amd64,linux/arm/v6,linux/arm/v7 \
7373
-f docker/Dockerfile \
74-
--provenance=false \
74+
--provenance=max \
7575
--push \
7676
-t koenkk/zigbee2mqtt:latest -t "koenkk/zigbee2mqtt:$TAG" -t ghcr.io/koenkk/zigbee2mqtt:latest -t "ghcr.io/koenkk/zigbee2mqtt:$TAG" \
7777
.
@@ -147,7 +147,7 @@ jobs:
147147
version: 9
148148
- uses: actions/setup-node@v4
149149
with:
150-
node-version: 20
150+
node-version: ${{ matrix.node }}
151151
cache: pnpm
152152
- name: Install dependencies
153153
# --ignore-scripts prevents the serialport build which often fails on Windows

data/configuration.example.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Indicates the configuration version (used by configuration migrations)
2+
version: 2
3+
14
# Home Assistant integration (MQTT discovery)
25
homeassistant: false
36

docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apk add --no-cache tzdata eudev tini nodejs
88
FROM base AS deps
99

1010
COPY package.json pnpm-lock.yaml ./
11-
RUN apk add npm && \
11+
RUN apk add make gcc g++ python3 linux-headers npm && \
1212
npm install -g pnpm && \
1313
pnpm install --frozen-lockfile --no-optional
1414

@@ -24,7 +24,7 @@ LABEL org.opencontainers.image.source="https://github.com/Koenkk/zigbee2mqtt"
2424

2525
COPY --from=deps /app/node_modules ./node_modules
2626
COPY dist ./dist
27-
COPY package.json LICENSE index.js data/configuration.yaml data/configuration.example.yaml ./
27+
COPY package.json LICENSE index.js data/configuration.example.yaml ./
2828

2929
COPY docker/docker-entrypoint.sh /usr/local/bin/
3030
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

0 commit comments

Comments
 (0)