• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

astronomer / astro-cli / 29999532441
44%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2026 10:31AM UTC
Jobs 1
Files 205
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jul 2026 10:30AM UTC coverage: 43.883%. Remained the same
29999532441

push

github

web-flow
Multiple build secrets (#2212)

Allow specifying multiple build secrets, using the CLI (`--build-secret`), dev config, or the `BUILD_SECRET_INPUT` env var.

The existing `--build-secrets` flag, despite its name, didn't actually allow passing multiple build secrets to Docker. It was parsed with `StringSliceVar`, meaning that literal build secret strings such as `id=aws,env=AWS_SECRET_ACCESS_KEY` would be split into two strings (`id=aws`, `env=AWS_SECRET_ACCESS_KEY`) and then rejoined into a single string that was ultimately passed as one `docker build --secret` argument.

Docker parses that as a single secret spec in which later fields override earlier ones, so providing more than one secret silently mounted only the last one.

As it was presumably originally intended that you could provide multiple secrets, this commit makes the following changes:

- Mark `--build-secrets` as deprecated. It can still be provided but will warn on use.
- Add `--build-secret`, which allows specifying a single secret, e.g. `id=aws,env=AWS_SECRET_ACCESS_KEY`, but can be provided multiple times.
- Pass all provided `--build-secret` values through to Docker.
- Dev config overrides as well as the `BUILD_SECRET_INPUT` env var can now contain newline-delimited strings to carry multiple build secrets. This is backwards compatible: a newline can't occur inside a valid secret specification, and a multiline value previously produced a single `--secret` argument that docker rejected, so no working configuration changes meaning.

Note: Comma-delimiting multiple secrets inside a single flag value (e.g. `id=a,src=x,id=b,env=Y`) is intentionally not supported: the comma already separates fields within one docker secret spec, so it cannot unambiguously separate specs too.

126 of 155 new or added lines in 12 files covered. (81.29%)

25897 of 59014 relevant lines covered (43.88%)

8.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
0.0
0.0% airflow/mocks/ContainerHandler.go
5
65.85
3.06% cmd/cloud/remote.go
4
0.0
0.0% airflow/mocks/ImageHandler.go
Jobs
ID Job ID Ran Files Coverage
1 29999532441.1 23 Jul 2026 10:31AM UTC 205
43.88
GitHub Action Run
Source Files on build 29999532441
  • Tree
  • List 205
  • Changed 12
  • Source Changed 12
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29999532441
  • 18c440e2 on github
  • Prev Build on main (#29857952992)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc