feat: manage local docker registries #4

Merged
benvin merged 1 commits from benvin/local-docker into main 2026-07-05 22:43:13 +10:00
Owner

Why

ArtifactAPI now serves local docker repos as real container registries and terraform-provider-artifactapi exposes an artifactapi_local_docker resource, but this config had no way to declare one.

Changes

  • Add a local_docker variable, module resource, config loader wiring, and terragrunt input, mirroring the other local_* kinds.
  • Declare a docker-internal registry (config/local_docker/docker-internal.yaml).
  • Expand the README to cover the local_* and virtual kinds.

Verification

  • tofu fmt clean; module validates against the built provider via a dev-override (the artifactapi_local_docker resource loads and accepts the config).

Depends on

  • terraform-provider-artifactapi#11 — must be released (and .terraform.lock.hcl bumped to that version) before apply, since the CI plan resolves the provider from the live registry.
  • artifactapi#103 — the server change that makes local docker repos real registries (needed at runtime, not for plan).
## Why ArtifactAPI now serves local `docker` repos as real container registries and terraform-provider-artifactapi exposes an `artifactapi_local_docker` resource, but this config had no way to declare one. ## Changes - Add a `local_docker` variable, module resource, config loader wiring, and terragrunt input, mirroring the other `local_*` kinds. - Declare a `docker-internal` registry (`config/local_docker/docker-internal.yaml`). - Expand the README to cover the `local_*` and `virtual` kinds. ## Verification - `tofu fmt` clean; module validates against the built provider via a dev-override (the `artifactapi_local_docker` resource loads and accepts the config). ## Depends on - terraform-provider-artifactapi#11 — must be released (and `.terraform.lock.hcl` bumped to that version) before `apply`, since the CI plan resolves the provider from the live registry. - artifactapi#103 — the server change that makes local docker repos real registries (needed at runtime, not for plan).
unkinben force-pushed benvin/local-docker from 502053abef to 2aa7a82ee7 2026-07-05 17:08:37 +10:00 Compare
unkinben added 1 commit 2026-07-05 17:17:02 +10:00
feat: manage local docker registries
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
c42826c6de
ArtifactAPI now serves local docker repos as real container registries and the
provider exposes an artifactapi_local_docker resource, but this config had no
way to declare one.

- Add a local_docker variable, module resource, config loader wiring, and
  terragrunt input, mirroring the other local_* kinds.
- Declare a docker-internal registry.
- Expand the README to cover the local_* and virtual kinds.

Depends on a terraform-provider-artifactapi release exposing
artifactapi_local_docker (and a matching .terraform.lock.hcl bump) before apply.
unkinben force-pushed benvin/local-docker from 2aa7a82ee7 to c42826c6de 2026-07-05 17:17:02 +10:00 Compare
benvin merged commit 78caca1d69 into main 2026-07-05 22:43:13 +10:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/terraform-artifactapi#4