File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed
Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 6969 - name : js
7070 working-directory : ./libxtracfg/js/xtracfg-native-binding
7171 run : |
72- npm --loglevel verbose ci --ignore-scripts
72+ npm --loglevel verbose ci --workspaces=false
7373 npm --loglevel verbose run prebuildify
7474 npm --loglevel verbose run test
7575 - name : log3
Original file line number Diff line number Diff line change 4040 name : dist
4141 path : ./xtractl/dist
4242 retention-days : 1
43+ - uses : actions/upload-artifact@v4
44+ with :
45+ name : common
46+ path : ./xtractl/Dockerfile
47+ retention-days : 1
4348
4449 docker :
4550 runs-on : ubuntu-latest
4853 - name : load
4954 uses : actions/download-artifact@v4
5055 with :
51- name : dist
56+ pattern : " {common,dist}"
57+ - name : chmod
58+ run : |
59+ chmod +x ./dist/*/xtractl
5260 - name : log1
5361 run : |
5462 ls -lR
7583 if : ${{ github.ref_type == 'branch' && github.ref_name == 'main' }}
7684 uses : docker/build-push-action@v6
7785 with :
78- context : .
86+ context : ./dist
87+ file : ./common/Dockerfile
7988 push : true
8089 pull : true
8190 tags : |
8897 if : ${{ github.ref_type == 'branch' && github.ref_name != 'main' }}
8998 uses : docker/build-push-action@v6
9099 with :
91- context : .
100+ context : ./dist
101+ file : ./common/Dockerfile
92102 push : true
93103 pull : true
94104 tags : |
@@ -101,7 +111,8 @@ jobs:
101111 if : ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}
102112 uses : docker/build-push-action@v6
103113 with :
104- context : .
114+ context : ./dist
115+ file : ./common/Dockerfile
105116 push : true
106117 pull : true
107118 tags : |
You can’t perform that action at this time.
0 commit comments