25
25
26
26
- name : Install
27
27
run : |
28
+ export DETECT_CHROMEDRIVER_VERSION=true
28
29
npm ci
29
30
npm run setheapsize
30
31
@@ -61,12 +62,22 @@ jobs:
61
62
tags : ${{ steps.image-metadata.outputs.tags }}
62
63
labels : ${{ steps.image-metadata.outputs.labels }}
63
64
containerfiles : ./Dockerfile
64
- platforms : linux/amd64
65
+ platforms : linux/amd64,linux/arm64
65
66
oci : true
67
+ # enable build layer caching between platforms
68
+ layers : true
66
69
# Webpack seems to use a lot of open files, increase the max open file limit to accomodate.
67
70
extra-args : |
68
71
--ulimit nofile=10000
69
72
73
+ - name : Publish to GHCR
74
+ uses : redhat-actions/push-to-registry@v2
75
+ with :
76
+ image : ${{ steps.build-image.outputs.image }}
77
+ tags : ${{ steps.build-image.outputs.tags }}
78
+ registry : ${{ env.REGISTRY }}
79
+ username : ${{ env.REGISTRY_USER }}
80
+ password : ${{ env.REGISTRY_PASSWORD }}
70
81
71
82
- name : Upload Release Assets
72
83
id : upload-release-assets
81
92
82
93
- name : Publish to NPM
83
94
uses : JS-DevTools/npm-publish@v1
95
+ if : false
84
96
with :
85
- token : ${{ secrets.NPM_TOKEN }}
86
-
87
- - name : Publish to GHCR
88
- uses : redhat-actions/push-to-registry@v2
89
- with :
90
- tags : ${{ steps.build-image.outputs.tags }}
91
- registry : ${{ env.REGISTRY }}
92
- username : ${{ env.REGISTRY_USER }}
93
- password : ${{ env.REGISTRY_PASSWORD }}
97
+ token : ${{ secrets.NPM_TOKEN }}
0 commit comments