fix(docker): *-dev tags target right stage from Dockerfile (#27116)

This commit is contained in:
lodu 2024-02-15 01:58:47 +01:00 committed by GitHub
parent b60938be4d
commit 9514300da5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -204,6 +204,7 @@ def get_docker_command(
{cache_to_arg} \\
{build_arg} \\
{platform_arg} \\
{target_argument} \\
--label sha={sha} \\
--label target={build_target} \\
--label build_trigger={build_context} \\

View File

@ -256,7 +256,7 @@ def test_get_docker_tags(
SHA,
"push",
"master",
["--load", f"-t {REPO}:master-dev "],
["--load", f"-t {REPO}:master-dev ", "--target dev"],
),
# multi-platform
(