aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/create_release.yml
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-16 10:56:11 +0100
committerGitHub Enterprise <[email protected]>2026-03-16 10:56:11 +0100
commit8c3ba4e8c522d119df3cb48966e36c0eaa80aeb9 (patch)
treecf51b07e097904044b4bf65bc3fe0ad14134074f /.github/workflows/create_release.yml
parentMerge branch 'sb/no-network' of https://github.ol.epicgames.net/ue-foundation... (diff)
parentEnable cross compilation of Windows targets on Linux (#839) (diff)
downloadzen-sb/no-network.tar.xz
zen-sb/no-network.zip
Merge branch 'main' into sb/no-networksb/no-network
Diffstat (limited to '.github/workflows/create_release.yml')
-rw-r--r--.github/workflows/create_release.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml
index 3345573c0..6d6a15bfc 100644
--- a/.github/workflows/create_release.yml
+++ b/.github/workflows/create_release.yml
@@ -127,6 +127,62 @@ jobs:
name: zenserver-macos
path: build/zenserver-macos.zip
+ docker-build:
+ name: Build Docker Images
+ runs-on: [linux, x64, zen]
+ timeout-minutes: 15
+ needs: [bundle-linux, bundle-windows]
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Read VERSION.txt
+ id: read_version
+ uses: ue-foundation/[email protected]
+ with:
+ path: "./VERSION.txt"
+
+ - name: Download Linux bundle
+ uses: actions/download-artifact@v1
+ with:
+ name: zenserver-linux
+ path: artifacts/linux
+
+ - name: Download Windows bundle
+ uses: actions/download-artifact@v1
+ with:
+ name: zenserver-win64
+ path: artifacts/win64
+
+ - name: Extract binaries
+ run: |
+ mkdir -p build/linux/x86_64/release
+ unzip artifacts/linux/zenserver-linux.zip -d artifacts/linux-extracted
+ cp artifacts/linux-extracted/zenserver build/linux/x86_64/release/
+ mkdir -p build/win-binary-staging
+ unzip artifacts/win64/zenserver-win64.zip -d artifacts/win-extracted
+ cp artifacts/win-extracted/zenserver.exe build/win-binary-staging/
+
+ - name: Build Docker image (with Wine + Windows binary)
+ run: |
+ docker build \
+ -t zenserver-compute:${{ steps.read_version.outputs.content }} \
+ --build-arg WIN_BINARY_DIR=build/win-binary-staging \
+ -f docker/Dockerfile .
+
+ - name: Build Docker image (Linux only, no Wine)
+ run: |
+ docker build \
+ -t zenserver-compute-linux:${{ steps.read_version.outputs.content }} \
+ --build-arg INSTALL_WINE=false \
+ -f docker/Dockerfile .
+
+ # TODO: Push images to container registry
+ # - name: Push images
+ # run: |
+ # docker push zenserver-compute:${{ steps.read_version.outputs.content }}
+ # docker push zenserver-compute-linux:${{ steps.read_version.outputs.content }}
+
create-release:
runs-on: [linux, x64, zen]
timeout-minutes: 5