Skip to content

Commit f754d7c

Browse files
committed
Merge branch 'ADG-10291' into ADG-10295
2 parents d56ea7d + febcc68 commit f754d7c

File tree

2 files changed

+62
-29
lines changed

2 files changed

+62
-29
lines changed

CHANGELOG.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@ The format is based on [*Keep a Changelog*](https://keepachangelog.com/en/1.0.0/
99
<!--
1010
## [v0.108.0] – TBA
1111
12-
## [v0.107.65] - 2025-07-30 (APPROX.)
12+
## [v0.107.66] - 2025-09-03 (APPROX.)
1313
14-
See also the [v0.107.65 GitHub milestone][ms-v0.107.65].
14+
See also the [v0.107.66 GitHub milestone][ms-v0.107.66].
1515
16-
[ms-v0.107.65]: https://github.com/AdguardTeam/AdGuardHome/milestone/100?closed=1
16+
[ms-v0.107.66]: https://github.com/AdguardTeam/AdGuardHome/milestone/101?closed=1
1717
1818
NOTE: Add new changes BELOW THIS COMMENT.
1919
-->
20+
<!--
21+
NOTE: Add new changes ABOVE THIS COMMENT.
22+
-->
23+
24+
## [v0.107.65] - 2025-08-20
25+
26+
See also the [v0.107.65 GitHub milestone][ms-v0.107.65].
2027

2128
### Security
2229

@@ -53,15 +60,12 @@ In this release, the schema version has changed from 29 to 30.
5360

5461
### Fixed
5562

56-
- Disabled state of Top clients action button in web UI ([#7923]).
63+
- Disabled state of *Top clients* action button in web UI ([#7923]).
5764

5865
[#7923]: https://github.com/AdguardTeam/AdGuardHome/issues/7923
5966

6067
[go-1.24.6]: https://groups.google.com/g/golang-announce/c/x5MKroML2yM
61-
62-
<!--
63-
NOTE: Add new changes ABOVE THIS COMMENT.
64-
-->
68+
[ms-v0.107.65]: https://github.com/AdguardTeam/AdGuardHome/milestone/100?closed=1
6569

6670
## [v0.107.64] - 2025-07-28
6771

@@ -3219,11 +3223,12 @@ See also the [v0.104.2 GitHub milestone][ms-v0.104.2].
32193223
[ms-v0.104.2]: https://github.com/AdguardTeam/AdGuardHome/milestone/28?closed=1
32203224

32213225
<!--
3222-
[Unreleased]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.65...HEAD
3223-
[v0.107.65]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.64...v0.107.65
3226+
[Unreleased]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.66...HEAD
3227+
[v0.107.66]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.65...v0.107.66
32243228
-->
32253229

3226-
[Unreleased]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.64...HEAD
3230+
[Unreleased]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.65...HEAD
3231+
[v0.107.65]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.64...v0.107.65
32273232
[v0.107.64]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.63...v0.107.64
32283233
[v0.107.63]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.62...v0.107.63
32293234
[v0.107.62]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.107.61...v0.107.62

scripts/make/build-docker.sh

Lines changed: 46 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ fi
2727
readonly version
2828

2929
# Allow users to use sudo.
30-
sudo_cmd="${SUDO:-}"
30+
sudo_cmd="${SUDO:-exec}"
3131
readonly sudo_cmd
3232

33+
# Make sure that those are built using something like:
34+
# make ARCH='386 amd64 arm arm64 ppc64le' OS=linux VERBOSE=1 build-release
3335
docker_platforms="\
3436
linux/386,\
3537
linux/amd64,\
@@ -104,20 +106,46 @@ cp "${dist_dir}/AdGuardHome_linux_arm_7/AdGuardHome/AdGuardHome" \
104106
cp "${dist_dir}/AdGuardHome_linux_ppc64le/AdGuardHome/AdGuardHome" \
105107
"${dist_docker}/AdGuardHome_linux_ppc64le_"
106108

107-
# Don't use quotes with $docker_version_tag and $docker_channel_tag, because we
108-
# want word splitting and or an empty space if tags are empty.
109-
#
110-
# TODO(a.garipov): Once flag --tag of docker buildx build supports commas, use
111-
# them instead.
112-
#
113-
# shellcheck disable=SC2086
114-
$sudo_cmd docker "$debug_flags" \
115-
buildx build \
116-
--build-arg BUILD_DATE="$build_date" \
117-
--build-arg DIST_DIR="$dist_dir" \
118-
--build-arg VCS_REF="$commit" \
119-
--build-arg VERSION="$version" \
120-
--output "$docker_output" \
121-
--platform "$docker_platforms" \
122-
--progress 'plain' \
123-
$docker_version_tag $docker_channel_tag -f ./docker/Dockerfile .
109+
# docker_opt_tag is a function that wraps the call to docker to optionally add
110+
# --tag flags.
111+
docker_opt_tag() {
112+
# Unset all positional parameters of the function.
113+
set --
114+
115+
# Set the initial parameters.
116+
set -- \
117+
"$debug_flags" \
118+
buildx \
119+
build \
120+
--build-arg BUILD_DATE="$build_date" \
121+
--build-arg DIST_DIR="$dist_dir" \
122+
--build-arg VCS_REF="$commit" \
123+
--build-arg VERSION="$version" \
124+
--output "$docker_output" \
125+
--platform "$docker_platforms" \
126+
--progress 'plain' \
127+
;
128+
129+
# Append the channel tag, if any.
130+
if [ "$docker_channel_tag" != '' ]; then
131+
set -- "$@" "$docker_channel_tag"
132+
fi
133+
134+
# Append the version tag, if any.
135+
if [ "$docker_version_tag" != '' ]; then
136+
set -- "$@" "$docker_version_tag"
137+
fi
138+
139+
# Append the rest.
140+
set -- \
141+
"$@" \
142+
-f \
143+
./docker/Dockerfile \
144+
. \
145+
;
146+
147+
# Call the docker command with the assembled parameters.
148+
"$sudo_cmd" docker "$@"
149+
}
150+
151+
docker_opt_tag

0 commit comments

Comments
 (0)