Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is it possible to split the build_args across multiple lines?#1439

Unanswered
wilmardo asked this question inQ&A
Discussion options

For some build I use a delimited string as input to loop over and do some action on in the Dockerfile. For example:
https://github.com/LANsible/docker-home-assistant/blob/main/.github/workflows/docker.yml#L19
https://github.com/LANsible/docker-home-assistant/blob/main/Dockerfile#L49

This now becomes one line, it would be nice to be able to split this across multiple lines, anyone an idea?
Something like this?

build_args:|        COMPONENTS=mqtt|buienradar|denonavr|androidtv|opentherm_gw|utility_meter|season|unifi|home_connect|stookwijzer        CUSTOM_COMPONENTS=           https://github.com/golles/ha-knmi/archive/refs/tags/v3.0.4.tar.gz|           https://github.com/danielrivard/homeassistant-innova/archive/refs/tags/v1.5.1.tar.gz|           https://github.com/marcolivierarsenault/moonraker-home-assistant/archive/refs/tags/1.11.1.tar.gz|           https://github.com/kamaradclimber/heishamon-homeassistant/archive/refs/tags/1.18.3.tar.gz|           https://github.com/mampfes/hacs_waste_collection_schedule/archive/refs/tags/2.10.0.tar.gz|           # would be cool if comments in between are possible as well, to setup renovate           https://github.com/PhantomPhoton/S3-Compatible/archive/refs/tags/v1.0.2.tar.gz

I tried a couple different things but couldn't get it to work, anyone some input? If refactoring thebuild-args is required that is fine by me as well, I am open for suggestion.

Thanks all <3

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@wilmardo

[8]ページ先頭

©2009-2025 Movatter.jp