Commit Graph

15 Commits

Author SHA1 Message Date
742aef8983 Merge discover and build into single job with shell loop
Some checks failed
Build and Push .NET Images / build (release) Failing after 11m26s
Build and Push .NET Images / build (push) Failing after 9m32s
Daily .NET Version Check / check-versions (push) Failing after 7s
Gitea Actions does not pass dynamic matrix values from fromJson
cross-job outputs correctly, causing empty variables. Replace the
two-job matrix strategy with a single job that discovers versions
and iterates in bash.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 18:04:33 -05:00
1f3d6ce8ce Fix apko tarball extraction with --strip-components=1
Some checks failed
Build and Push .NET Images / discover (release) Successful in 6s
Build and Push .NET Images / build (release) Failing after 9m40s
The binary is nested under apko_VERSION_linux_amd64/apko in the
tarball, not at the root.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:53:20 -05:00
7cf9b1b914 Install apko as binary instead of running via Docker
Some checks failed
Build and Push .NET Images / discover (release) Successful in 2s
Build and Push .NET Images / build (release) Failing after 9m32s
The Gitea runner executes inside Docker, so volume mounts from
docker run resolve against the host filesystem where the workspace
path does not exist. Install apko directly on the runner to avoid
the Docker-in-Docker volume mount issue.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:39:57 -05:00
f5c1c7aadc Fix apko build by removing read-only mount on work directory
Some checks failed
Build and Push .NET Images / discover (release) Successful in 2s
Build and Push .NET Images / build (release) Failing after 11m34s
apko now writes SBOM files next to the config YAML, so the work
directory must be writable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:27:03 -05:00
bb3f52b265 Strip unused SDK components to reduce image size
Some checks failed
Build and Push .NET Images / discover (release) Successful in 1s
Build and Push .NET Images / build (release) Failing after 9m35s
Remove templates, TestHostNetFramework, and DotnetTools from SDK image.
These are not needed for dotnet restore/build/publish and save ~124 MB.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:17:44 -05:00
a677ab6d9d Fix registry secret names and add busybox to SDK
Use REGISTRY_USERNAME/REGISTRY_PASSWORD instead of
DOCKERHUB_SVRNTY_USERNAME/DOCKERHUB_SVRNTY_ACCESS_TOKEN.
Add busybox to SDK apko config for /bin/sh support.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:45:18 -05:00
74bb1f6070 Run SDK image as nonroot (UID 65532) for Docker Scout compliance
- apko/sdk.yaml: run-as 65532, create /home/nonroot and /app owned by nonroot
- sdk.Dockerfile: USER 65532, set HOME and DOTNET_CLI_HOME to /home/nonroot
- README/DOCKERHUB: update examples to use COPY --chown=nonroot and /app/publish

dotnet restore writes NuGet cache to $DOTNET_CLI_HOME/.nuget/packages
which is now /home/nonroot/.nuget/packages — no root needed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:39:51 -05:00
fa20f6f0ea Put all header badges on single line to prevent wrapping
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:35:38 -05:00
67d4d72414 Fix version table rendering by moving markers outside table
HTML comments between the separator and data rows break markdown
table parsing. Markers now wrap the entire table (header included)
and the pipeline regenerates the full table.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:34:30 -05:00
843184da33 Auto-update README version tables from .NET release metadata
The daily update-check pipeline now regenerates the images table,
EOL dates, and .NET badge in README.md and DOCKERHUB.md from the
Microsoft releases-index.json API. Commits changes only when the
supported version set changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:32:02 -05:00
759cf715d4 Fix .NET 9 EOL date to 2026-11-10
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:28:31 -05:00
b7b87035d9 Add EOL column to images table
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:27:12 -05:00
00dcc4b884 Restructure images table with versions as rows and link variants to DockerHub
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:26:29 -05:00
a6c460c127 Add README, DOCKERHUB overview, and prerelease -test tag support
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:23:21 -05:00
0b301121ad Initial commit: multi-version .NET Docker images with apko base
- apko configs for runtime (ICU), runtime-invariant (no ICU), and SDK variants
- Build workflow with dynamic matrix from .NET release metadata (EOL-aware)
- Daily update-check workflow to detect new .NET versions
- Docker Scout PR analysis workflow
- LTS/STS floating tags, multi-arch (amd64 + arm64)
- Makefile for local builds and version discovery

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:18:15 -05:00