Skip to content

Commit fd2a4de

Browse files
committed
WIP
1 parent 486eeec commit fd2a4de

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@ name: CI
22

33
on: [push, pull_request]
44

5+
env:
6+
REGISTRY: "ghcr.io"
7+
IMAGE: "ghcr.io/librepcb/librepcb-dev"
8+
59
jobs:
610
windows-x64:
711
name: Windows x86_64
812
runs-on: windows-2025
13+
env:
14+
TAG: "windowsservercore-ltsc2025-qt6.6-64bit"
915
permissions:
1016
contents: read
1117
packages: write
@@ -14,14 +20,8 @@ jobs:
1420
steps:
1521
- uses: actions/checkout@v4
1622
- 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 }}"

0 commit comments

Comments
 (0)