Skip to content

Commit

Permalink
feat: add windows 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Dec 22, 2024
1 parent c6d00e5 commit 01cb605
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

strategy:
matrix:
os: [2019,2022]
os: [2019,2022,2025]

env:
BASE: ${{ matrix.os }}
Expand Down Expand Up @@ -151,11 +151,13 @@ jobs:
docker manifest create ${{ env.IMAGE }} \
${{ env.IMAGE }}:linux-amd64 \
${{ env.IMAGE }}:windows-2019 \
${{ env.IMAGE }}:windows-2022
${{ env.IMAGE }}:windows-2022 \
${{ env.IMAGE }}:windows-2025
docker manifest create ${{ env.IMAGE }}:${{ env.VERSION }} \
${{ env.IMAGE }}:${{ env.VERSION }}-linux-amd64 \
${{ env.IMAGE }}:${{ env.VERSION }}-windows-2019 \
${{ env.IMAGE }}:${{ env.VERSION }}-windows-2022
${{ env.IMAGE }}:${{ env.VERSION }}-windows-2022 \
${{ env.IMAGE }}:${{ env.VERSION }}-windows-2025
- name: Publish the Docker multiarch manifest
run: |
Expand Down
2 changes: 1 addition & 1 deletion bin/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ patch=${BASH_REMATCH[3]}


VERSION="${major}.${minor}.${patch}"
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
echo "Found version: ${VERSION}"
39 changes: 39 additions & 0 deletions windows/Dockerfile.2025
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# escape=`

# renovate: datasource=github-releases depName=docuum packageName=stepchowfun/docuum
ARG DOCUUM_VERSION=0.25.0

# renovate: datasource=github-releases depName=docker packageName=moby/moby
ARG DOCKER_VERSION=27.4.1

FROM mcr.microsoft.com/windows/nanoserver:ltsc2025@sha256:2cf953420d355e2bb428f03c4df80eadb8acad24c9ea8df4da3f7c75d4651310

USER ContainerAdministrator

LABEL maintainer="Michael Kriese <michael.kriese@visualon.de>" `
org.opencontainers.image.authors="Michael Kriese <michael.kriese@visualon.de>" `
org.opencontainers.image.licenses="MIT" `
org.opencontainers.image.source="https://github.com/visualon/docker-docuum" `
org.opencontainers.image.url="https://github.com/visualon/docker-docuum"

ENTRYPOINT ["/bin/docuum"]

#ENV DOCKER_HOST=npipe:////./pipe/docker_engine


RUN mkdir bin
RUN setx /M PATH "c:\bin;%PATH%" > nul

ARG DOCKER_VERSION
RUN `
curl -sSfLo file.zip https://download.docker.com/win/static/stable/x86_64/docker-%DOCKER_VERSION%.zip `
&& tar -C /bin -oxzf file.zip --strip 1 docker/docker.exe `
&& del /f file.zip `
&& docker --version

ARG DOCUUM_VERSION
LABEL org.opencontainers.image.version="${DOCUUM_VERSION}"

RUN `
curl -sSfLo bin/docuum.exe https://github.com/stepchowfun/docuum/releases/download/v%DOCUUM_VERSION%/docuum-x86_64-pc-windows-msvc.exe `
&& docuum --version

0 comments on commit 01cb605

Please sign in to comment.