Use Tailscale sidecar for container registry push
Some checks failed
Build Container / build (push) Failing after 1m9s

Docker Desktop's VM can't resolve tailnet hostnames. Work around this by:
1. Starting a Tailscale container that joins the tailnet
2. Building the image with docker build
3. Saving to tarball with docker save
4. Pushing via skopeo inside the Tailscale container

Uses TS_CI_GATEWAY_AUTHKEY repository secret for authentication.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-01-24 19:29:01 -08:00
commit 424647cd93
2 changed files with 88 additions and 9 deletions

View file

@ -74,3 +74,4 @@ jobs:
context: ${{ steps.check.outputs.context }}
image_name: blumeops/${{ steps.parse.outputs.container }}
version: ${{ steps.parse.outputs.version }}
tailscale_authkey: ${{ secrets.TS_CI_GATEWAY_AUTHKEY }}