Skip to content

Commit

Permalink
issue #3465 (#3466)
Browse files Browse the repository at this point in the history
Fixes #3465

Co-authored-by: freddydk <freddydk@users.noreply.github.com>
  • Loading branch information
freddydk and freddydk committed Apr 5, 2024
1 parent ed8eedc commit dd0cf4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ContainerHandling/Flush-ContainerHelperCache.ps1
Expand Up @@ -183,7 +183,7 @@ try {
"artifactUrl=https://bcprivate*.net/",
"artifactUrl=https://bcpublicpreview*.net/" | ForEach-Object {
if ($artifactUrl -like "$($_)*") {
$cacheFolder = Join-Path $artifactsCacheFolder $artifactUrl.SubString($_.Length)
$cacheFolder = Join-Path $artifactsCacheFolder $artifactUrl.Substring($artifactUrl.IndexOf('/',$_.Length)+1)
if (-not (Test-Path $cacheFolder)) {
Write-Host "$imageName was built on artifacts which was removed from the cache, removing image"
if (-not (DockerDo -command rmi -parameters @("--force") -imageName $imageID -ErrorAction SilentlyContinue)) {
Expand Down
3 changes: 3 additions & 0 deletions ReleaseNotes.txt
@@ -1,3 +1,6 @@
6.0.14
Issue 3465 Regression: Flush-ContainerHelperCache calculates wrong CacheFolder

6.0.13
Issue 3452 Error when running Run-AlValidation : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Issue 3454 DockerDo : Cannot bind argument to parameter 'imageName' because it is an empty string.
Expand Down
2 changes: 1 addition & 1 deletion Version.txt
@@ -1 +1 @@
6.0.13-dev
6.0.14-dev

0 comments on commit dd0cf4c

Please sign in to comment.