aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFijxu <fijxu@nadeko.net>2025-03-30 00:12:19 -0300
committerGitHub <noreply@github.com>2025-03-29 23:12:19 -0400
commit052316ba25c86d5dcc870cd5b4c045ea67110562 (patch)
tree1b104e20c6aafa7cb154dec42ee3a2fdd7e6d3fc /docs
parentdb5143ae7a53eb54fadeb2166252e1a7de5450b9 (diff)
downloadanubis-052316ba25c86d5dcc870cd5b4c045ea67110562.tar.xz
anubis-052316ba25c86d5dcc870cd5b4c045ea67110562.zip
cmd/containerbuild: use TrimSuffix instead of TrimRight (#157)
Using TrimRight will remove all characters from `*dockerRepo` from right to left that match a character contained on `"/"+filepath.Base(*dockerRepo)` (the cutset) until it doesn't matches anymore. So for example, if `dockerRepo` is `example.com/fijxu/anubis`, and `"/"+filepath.Base(*dockerRepo)` is `/anubis`, it will remove `u/anubis` and not just `/anubis` from `dockerRepo` because `u` is a character inside the cutoff.
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md
index e95e0c8..2ddda01 100644
--- a/docs/docs/CHANGELOG.md
+++ b/docs/docs/CHANGELOG.md
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Developer documentation has been added to the docs site
- Show more errors when some predictable challenge page errors happen ([#150](https://github.com/TecharoHQ/anubis/issues/150))
- Verification page now shows hash rate and a progress bar for completion probability.
+- Use `TrimSuffix` instead of `TrimRight` on containerbuild
## v1.15.0