Skip to content

Commit cf24a5d

Browse files
committed
Add Windows Containers Support
1 parent 9728019 commit cf24a5d

25 files changed

Lines changed: 1083 additions & 1660 deletions

.github/workflows/build.yml

Lines changed: 3 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,8 @@ jobs:
2121
build:
2222
strategy:
2323
matrix:
24-
runtime: [ linux-x64, linux-arm64, linux-arm, win-x64, win-arm64, osx-x64, osx-arm64 ]
24+
runtime: [ win-x64, win-arm64 ]
2525
include:
26-
- runtime: linux-x64
27-
os: ubuntu-latest
28-
devScript: ./dev.sh
29-
30-
- runtime: linux-arm64
31-
os: ubuntu-latest
32-
devScript: ./dev.sh
33-
34-
- runtime: linux-arm
35-
os: ubuntu-latest
36-
devScript: ./dev.sh
37-
38-
- runtime: osx-x64
39-
os: macOS-latest
40-
devScript: ./dev.sh
41-
42-
- runtime: osx-arm64
43-
os: macOS-latest
44-
devScript: ./dev.sh
45-
4626
- runtime: win-x64
4727
os: windows-latest
4828
devScript: ./dev
@@ -66,7 +46,7 @@ jobs:
6646
run: |
6747
${{ matrix.devScript }} test
6848
working-directory: src
69-
if: matrix.runtime != 'linux-arm64' && matrix.runtime != 'linux-arm' && matrix.runtime != 'osx-arm64' && matrix.runtime != 'win-arm64'
49+
if: matrix.runtime == 'win-x64'
7050

7151
# Create runner package tar.gz/zip
7252
- name: Package Release
@@ -78,53 +58,9 @@ jobs:
7858
# Upload runner package tar.gz/zip as artifact
7959
- name: Publish Artifact
8060
if: github.event_name != 'pull_request'
81-
uses: actions/upload-artifact@v7
61+
uses: actions/upload-artifact@v6
8262
with:
8363
name: runner-package-${{ matrix.runtime }}
8464
path: |
8565
_package
86-
87-
docker:
88-
strategy:
89-
matrix:
90-
os: [ ubuntu-latest, ubuntu-24.04-arm ]
91-
include:
92-
- os: ubuntu-latest
93-
docker_platform: linux/amd64
94-
- os: ubuntu-24.04-arm
95-
docker_platform: linux/arm64
96-
runs-on: ${{ matrix.os }}
97-
steps:
98-
- uses: actions/checkout@v6
99-
100-
- name: Get latest runner version
101-
id: latest_runner
102-
uses: actions/github-script@v8
103-
with:
104-
github-token: ${{secrets.GITHUB_TOKEN}}
105-
script: |
106-
const release = await github.rest.repos.getLatestRelease({
107-
owner: 'actions',
108-
repo: 'runner',
109-
});
110-
const version = release.data.tag_name.replace(/^v/, '');
111-
core.setOutput('version', version);
112-
113-
- name: Setup Docker buildx
114-
uses: docker/setup-buildx-action@v4
115-
116-
- name: Build Docker image
117-
uses: docker/build-push-action@v7
118-
with:
119-
context: ./images
120-
load: true
121-
platforms: ${{ matrix.docker_platform }}
122-
tags: |
123-
${{ github.sha }}:latest
124-
build-args: |
125-
RUNNER_VERSION=${{ steps.latest_runner.outputs.version }}
126-
127-
- name: Test Docker image
128-
run: |
129-
docker run --rm ${{ github.sha }}:latest ./run.sh --version
13066

.github/workflows/close-bugs-bot.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/close-features-bot.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/dependency-check.yml

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)