Skip to content

Commit 3420cf5

Browse files
xoxysKoenkk
authored andcommitted
disable buildx provenance in the ci build command (#16495)
1 parent d5a3bf6 commit 3420cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@ jobs:
4040
uses: docker/setup-buildx-action@v2
4141
with:
4242
version: latest
43-
# disabled provenance generation until support of OCI multi-arch image manifests with provenance information has been fixed in all necessary places. Cf. https://github.com/Koenkk/zigbee2mqtt/issues/16201 and https://github.com/docker/buildx/issues/1509
44-
provenance: false
4543
- name: Docker build dev
4644
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
4745
run: |
4846
docker buildx build \
4947
--build-arg COMMIT=$(git rev-parse --short HEAD) \
5048
--platform linux/arm64/v8,linux/386,linux/amd64,linux/arm/v6,linux/arm/v7 \
5149
-f docker/Dockerfile \
50+
--provenance=false \
5251
--push \
5352
-t koenkk/zigbee2mqtt:latest-dev -t ghcr.io/koenkk/zigbee2mqtt:latest-dev \
5453
.
@@ -60,6 +59,7 @@ jobs:
6059
--build-arg COMMIT=$(git rev-parse --short HEAD) \
6160
--platform linux/arm64/v8,linux/386,linux/amd64,linux/arm/v6,linux/arm/v7 \
6261
-f docker/Dockerfile \
62+
--provenance=false \
6363
--push \
6464
-t koenkk/zigbee2mqtt:latest -t "koenkk/zigbee2mqtt:$TAG" -t ghcr.io/koenkk/zigbee2mqtt:latest -t "ghcr.io/koenkk/zigbee2mqtt:$TAG" \
6565
.

0 commit comments

Comments
 (0)