Skip to content

Commit

Permalink
Try building on Windows Server Core 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Dec 21, 2024
1 parent 3775905 commit eb56caf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
pull: true

windows:
runs-on: windows-2022
runs-on: windows-2025
steps:
- uses: actions/checkout@v4

Expand All @@ -192,7 +192,7 @@ jobs:
images: ${{ env.REGISTRY_IMAGE }}
flavor: |
latest=false
prefix=windows2022-
prefix=windows2025-
- name: Build and push
id: build
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- `gocddev/gocd-dev-build:dind-<github_tag>`
- `gocddev/gocd-dev-build:centos-9-<github_tag>`
- `gocddev/gocd-dev-build:ubuntu-24-04-<github_tag>`
- `gocddev/gocd-dev-build:windows2022-<github_tag>`
- `gocddev/gocd-dev-build:windows2025-<github_tag>`

To build a new version of the images, push a new version tag to this repository.

Expand All @@ -12,7 +12,7 @@ To build a new version of the images, push a new version tag to this repository.
- ```docker build . --pull -t gocddev/gocd-dev-build:dind-SNAPSHOT -f dind.Dockerfile```
- ```docker build . --pull -t gocddev/gocd-dev-build:centos-9-SNAPSHOT -f centos.Dockerfile```
- ```docker build . --pull -t gocddev/gocd-dev-build:ubuntu-24-04-SNAPSHOT -f ubuntu.Dockerfile```
- ```docker build . --pull -t gocddev/gocd-dev-build:windows2022-SNAPSHOT -f windowsservercore.Dockerfile```
- ```docker build . --pull -t gocddev/gocd-dev-build:windows2025-SNAPSHOT -f windowsservercore.Dockerfile```


# Publish
Expand Down
2 changes: 1 addition & 1 deletion windowsservercore.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/windows/servercore:ltsc2022
FROM mcr.microsoft.com/windows/servercore:ltsc2025
LABEL org.opencontainers.image.authors="GoCD Team <[email protected]>"

# Shamelessly nabbed from https://github.com/gantrior/docker-chrome-windows
Expand Down

0 comments on commit eb56caf

Please sign in to comment.