File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,16 @@ name: CI
2
2
3
3
on : [push, pull_request]
4
4
5
+ env :
6
+ REGISTRY : " ghcr.io"
7
+ IMAGE : " ghcr.io/librepcb/librepcb-dev"
8
+
5
9
jobs :
6
10
windows-x64 :
7
11
name : Windows x86_64
8
12
runs-on : windows-2025
13
+ env :
14
+ TAG : " windowsservercore-ltsc2025-qt6.6-64bit"
9
15
permissions :
10
16
contents : read
11
17
packages : write
14
20
steps :
15
21
- uses : actions/checkout@v4
16
22
- name : Docker Login
17
- uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
18
- with :
19
- registry : ghcr.io
20
- username : ${{ github.actor }}
21
- password : ${{ secrets.GITHUB_TOKEN }}
22
- - name : Docker Build & Push
23
- uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
24
- with :
25
- context : windowsservercore-ltsc2025-qt6.6-64bit
26
- tags : librepcb/librepcb-dev:latest
27
- push : true
23
+ run : docker login -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" "${{ env.REGISTRY }}"
24
+ - name : Docker Build
25
+ run : docker build -t "${{ env.IMAGE }}:${{ env.TAG }}" "${{ env.TAG }}"
26
+ - name : Docker Push
27
+ run : docker push "${{ env.IMAGE_NAME }}:${{ env.TAG }}"
You can’t perform that action at this time.
0 commit comments