Robert Kaussow
a24586bec3
disable buildx provenance in the ci build command ( #16495 )
2023-02-04 14:12:24 +01:00
Roland Ramthun
140213950d
Disable provenance information in Docker images ( #16297 )
...
* Disable provenance information in Docker images
The new default of buildx to include provenance information to OCI images causes a series of infrastructure issues with current Docker versions.
Disable generation of the new provenance information until all necessary infrastructure software components and registries have been fixed to support it properly.
* Correct docker/setup-buildx-action version number
2023-01-23 19:26:43 +01:00
Koen Kanters
5b2756fef3
Build linux/386 Docker image. https://github.com/Koenkk/zigbee2mqtt/issues/15796
2022-12-29 10:44:15 +01:00
Koen Kanters
6d08a2f0f6
Use Node.js 18 in CI
2022-12-24 09:50:32 +01:00
John Doe
f88ac154a2
Mark node v19 as supported ( #14837 )
...
* Mark node19 as supported
* Fix condition
* Fix tests
Co-authored-by: Ainur Timerbaev <ainur.timerbaev@superawesome.com >
2022-11-06 12:28:59 +00:00
Koen Kanters
26fc4609f0
Enable publish to ghcr.io
2022-07-15 12:50:43 +02:00
Koen Kanters
3478715926
Update ci.yml
2022-07-12 22:15:26 +02:00
Koen Kanters
ed351ee712
TEMP: disable ghcr.io Docker build since ghcr.io is unstable
2022-07-12 22:09:43 +02:00
Koen Kanters
6ef9e4f479
Fix matrix test jobs unstable ( #13068 )
...
* Update ci.yml
* Update ci.yml
2022-07-07 15:21:37 +02:00
Koen Kanters
c973632efd
Merge branch 'dev'
2022-07-01 16:40:18 +02:00
Koen Kanters
80f8fb4d98
Node 17 is EOL
2022-06-26 16:56:01 +02:00
Koen Kanters
389ff844c4
Revert "Revert "Revert "Temp: disable ghcr.io since it makes build fail"""
...
This reverts commit 975eb7d6ae .
2022-06-08 16:40:20 +02:00
Koen Kanters
300b2973e1
Update ci.yml
2022-06-06 13:32:44 +02:00
Koen Kanters
5c44582b69
Update zigbee2mqtt/hassio-zigbee2mqtt trigger
2022-06-06 12:58:37 +02:00
John Doe
d064a73131
Rework ci and use package-lock.json instead of npm-shrinkwrap.json ( #12631 )
...
* Update ci
* Use package-lock
* Use package-lock.json
* Use cache for ci
* Enable node18 windows
* Revert "Enable node18 windows"
This reverts commit e427551acdd64c3a256b48a5b8e86b3c4c986405.
* Remove redundant cache
* Don't do shrinkwrap
* Remove shrinkwrap
* Remove redundant step
* Cache node-gyp
* Debug
* Add key
* Update ci.yml
* Add cache detection
* Fix
* Add deps
* Fix2
* Update caches
* Fix ci
* Update patsh
* Update paths
* Update paths
* Fix max cache path
* Change cache key
* Remove spaces
* Split caches
* Fix linux cache
* Fix linux cache
* Merge caches
* Ignore errs
* Find only dirs
* Run find after ci
* Fix mac cache
* Fix caches
* Remove env run
Co-authored-by: nurikk <ainur@yojee.com >
2022-06-02 14:38:07 +00:00
Koen Kanters
64ab3b0492
Revert "Downgrade docker/setup-qemu-action to v1"
...
This reverts commit 35b9e01230 .
2022-06-02 16:27:18 +02:00
Koen Kanters
e1c9d68c68
Revert "Check if ghcr.io build works again"
...
This reverts commit 1596714ccb .
2022-06-02 16:27:11 +02:00
Koen Kanters
35b9e01230
Downgrade docker/setup-qemu-action to v1
2022-06-02 16:13:40 +02:00
Koen Kanters
1596714ccb
Check if ghcr.io build works again
2022-06-02 16:02:51 +02:00
neilnaveen
cc42ab7584
chore: Set permissions for GitHub actions ( #12626 )
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-06-01 19:15:06 +02:00
Koen Kanters
975eb7d6ae
Revert "Revert "Temp: disable ghcr.io since it makes build fail""
...
This reverts commit 4e28df88ae .
2022-06-01 16:57:47 +02:00
Koen Kanters
4e28df88ae
Revert "Temp: disable ghcr.io since it makes build fail"
...
This reverts commit a1db076c02 .
2022-05-31 08:28:36 +02:00
Koen Kanters
fe011ba7b3
Disable node 18 testing for now (fails quite often)
2022-05-29 10:21:23 +02:00
Koen Kanters
a1db076c02
Temp: disable ghcr.io since it makes build fail
2022-05-27 16:23:34 +02:00
Koen Kanters
be55e3ee80
Revert "Temp disable ghcr.io push (seems to make build fail)"
...
This reverts commit c1372852e9 .
2022-05-27 11:47:43 +02:00
Koen Kanters
c1372852e9
Temp disable ghcr.io push (seems to make build fail)
2022-05-26 09:50:39 +02:00
Koen Kanters
d7b926d47f
Update ci.yml dependencies
2022-05-26 09:43:11 +02:00
Koen Kanters
c00768b7c7
Move ci before tests
2022-05-21 15:08:07 +02:00
John Doe
84bac2b8d8
Add compatibility tests ( #12527 )
...
* Add tests gh action
* Fix zigbee_ota_override_index_location
* Fix Shouldnt crash when it cannot save state test
* Add node17
* Update tests.yml
* Drop old versions
* Move to ci.yml
* Update controller.test.js
* Fix linebraks on windows
* Ignore windows and node 17
* Fail on error
* Add comment
* Mark node 18 as supported
Co-authored-by: nurikk <ainur@yojee.com >
2022-05-21 08:37:39 +02:00
Koen Kanters
cabef43421
Revert "Switch to package-lock.json"
...
This reverts commit 0163b7281a .
2022-04-03 08:49:03 +02:00
Koen Kanters
0163b7281a
Switch to package-lock.json
2022-04-02 20:57:44 +02:00
Koen Kanters
d83eb72c4b
Add registry url
2022-04-02 20:44:16 +02:00
Koen Kanters
414ea10b14
Update actions
2022-04-02 20:41:18 +02:00
Koen Kanters
b515c3213f
Node 16 ( #11804 )
...
* Node 16
* More Node 16
2022-03-11 20:39:25 +01:00
Koen Kanters
27b36b316c
Update CI node version to 14
2021-09-18 18:26:17 +02:00
Koen Kanters
7b65dc631b
Enable TypeScript ( #8074 )
...
* Enable Typescript
* Fix tests
* Fix tests again
* Automatically (re)build
* Updates
* Updates
* Update shrinkwrap
* Enable sourcemaps
2021-07-21 19:35:14 +02:00
Koen Kanters
a151d765ca
Publish Docker images to Github container registry. #6326 ( #6329 )
2021-02-17 13:04:58 +01:00
Marius
6cf32b9fb1
Preparing to make org switch for the add-on ( #5546 )
2021-02-11 18:38:55 +01:00
Marius
cb9699e12a
Automatic edge build trigger for zigbee2mqtt org ( #5068 )
...
Automatic edge build trigger for zigbee2mqtt/hassio-zigbee2mqtt
2020-11-24 09:59:36 +01:00
Koen Kanters
e2e51fc32c
Revert "Does linux/386 work now?"
...
This reverts commit 75ca6f3970 .
2020-10-09 18:21:50 +02:00
Koen Kanters
75ca6f3970
Does linux/386 work now?
2020-10-09 18:19:59 +02:00
Koen Kanters
33985bc976
Fix buildx command
2020-10-09 18:15:14 +02:00
Koen Kanters
17545a6f72
Fix ci.yml
2020-10-09 18:12:38 +02:00
Koen Kanters
ed8b4e567b
Migrate to docker setup QEMU/Buildx
2020-10-09 18:09:40 +02:00
Koen Kanters
40ab11bc49
Revert "Use buildx 0.4.2"
...
This reverts commit a571949f49 .
2020-10-09 14:25:11 +02:00
Koen Kanters
0e30a73a19
Drop linux/i386 image (causes build errors)
2020-10-09 14:21:26 +02:00
Koen Kanters
6fa4807a5a
linux/386 -> linux/i386
2020-10-09 14:18:00 +02:00
Koen Kanters
a571949f49
Use buildx 0.4.2
2020-10-09 14:01:35 +02:00
Koen Kanters
ec28738784
Fix npm repo url.
2020-08-12 17:36:24 +02:00
Koen Kanters
954b891698
Only run Docker login/setup on master tag push
2020-08-10 21:54:20 +02:00