Skip to content

Comments

chore(dev): cherry-pick CLI network option from origin/werf#39

Merged
nervgh merged 6 commits intomainfrom
chore/dev/rebase-with-origin-werf
Feb 20, 2026
Merged

chore(dev): cherry-pick CLI network option from origin/werf#39
nervgh merged 6 commits intomainfrom
chore/dev/rebase-with-origin-werf

Conversation

@nervgh
Copy link
Collaborator

@nervgh nervgh commented Feb 20, 2026

No description provided.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Rename --network flag to --backend-network

Rename the `--network` command-line flag and the corresponding
`WERF_NETWORK` environment variable to `--backend-network` and
`WERF_BACKEND_NETWORK`.

Updated all affected commands, documentation, and E2E tests to reflect
this change. The network mode is now also included in the image build
information logs.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add support for specifying the network mode in the image configuration
for both Stapel and Dockerfile images. The CLI flag `--backend-network`
takes precedence over the value defined in `werf.yaml`.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add documentation in English and Russian for the `network` parameter
in werf.yaml and the `--backend-network` CLI option. This feature
allows restricting network access during Docker-based builds.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
@nervgh nervgh changed the title chore(dev): cherry-pick from werf chore(dev): cherry-pick CLI network option from werf Feb 20, 2026
@nervgh nervgh changed the title chore(dev): cherry-pick CLI network option from werf chore(dev): cherry-pick CLI network option from origin/werf Feb 20, 2026
Alphabetize the `--backend-network` flag in documentation and ensure
consistent trailing newlines across CLI reference includes.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
@nervgh nervgh merged commit c88072a into main Feb 20, 2026
10 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant