Use custom action for Windows 2022 & 2025 #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows LTSC2025 image build | |
on: | |
push: | |
branches: | |
- "2e" | |
paths: | |
- "images/**" | |
- "build/**" | |
- ".github/workflows/images-windows-ltsc2025.yaml" | |
jobs: | |
images-windows-ltsc2025: | |
runs-on: windows-2025 | |
steps: | |
- name: Docker Hub login | |
shell: pwsh | |
run: | | |
docker login -u $env:USER -p $env:TOKEN | |
env: | |
USER: ${{ secrets.DOCKER_HUB_USERNAME }} | |
TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Build Git Windows image | |
uses: ./.github/actions/build | |
with: | |
filter: 'git-windows' | |
- name: Build base images | |
uses: ./.github/actions/build | |
- name: Build chapter images | |
uses: ./.github/actions/build | |
with: | |
images: 'false' | |
chapters: 'true' |