buildkite / agent-stack-k8s

Spin up an autoscaling stack of Buildkite Agents on Kubernetes
MIT License
77 stars 30 forks source link

Use same agent image version as in go.mod #287

Closed DrJosh9000 closed 5 months ago

DrJosh9000 commented 5 months ago

Using the stable tag for choosing the agent image is reasonable, but not great for reproducibility. It'd be better to pin the agent version used to find the agent container image. Since the stack has a Go module dependency on the agent, we can use that as the agent image tag (this keeps them consistent).