File tree Expand file tree Collapse file tree 1 file changed +9
-26
lines changed
Expand file tree Collapse file tree 1 file changed +9
-26
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches : ["main"]
88
9-
109jobs :
1110 build-container :
12- runs-on : windows -latest
11+ runs-on : ubuntu -latest
1312 steps :
14- - uses : actions/checkout@v3
15- - name : Log in to Docker Hub
16- uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
17- with :
18- registry : ghcr.io
19- username : ${{ github.actor }}
20- password : ${{ secrets.GITHUB_TOKEN }}
21- - name : Build container
22- run : docker build -t ghcr.io/diffcheckorg/diffcheck-windows:latest ${{ github.workspace }}/tests/dockerfiles/windows
23- - name : Push
24- run : docker push ghcr.io/diffcheckorg/diffcheck-windows:latest
13+ - uses : actions/checkout@v2
14+ - name : Build and push Docker image
15+ uses : docker/build-push-action@v2
16+ with :
17+ context : .
18+ push : true
19+ tags : ghcr.io/diffcheckorg/diffcheck-windows:latest
2520
2621 configure-and-build :
2722 needs : build-container
3227 - uses : actions/checkout@v4
3328 with :
3429 lfs : true
35- submodules : true
36- - name : Configure
37- run : |
38- git config --global --add safe.directory ${PWD}
39- cmake -B build .
40- - uses : actions/upload-artifact@v3
41- if : ${{ failure() }}
42- with :
43- name : configure-artifacts
44- path : build/
45- retention-days : 1
46- - name : Build
47- run : cmake --build build
30+ submodules:
You can’t perform that action at this time.
0 commit comments