Skip to content

Commit

Permalink
Fix directory in CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpollet authored Jul 3, 2024
1 parent 30b5ca4 commit 7a2c8f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if($version.StartsWith('v3')) {
$api_opts='--api.insecure'
}

$path = $version-replace "\.[0-9]+\s*$"
$path = $version-replace "\.[0-9a-z\-]+\s*$"

docker build -t traefik:$target $path/windows/$target
docker run --name lb -d -p 8080:8080 traefik:$target --api $api_opts
Expand Down
4 changes: 2 additions & 2 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ if [[ ${VERSION} = v3* ]]; then
fi

TARGETS=(
"traefik:${VERSION}-alpine!./${VERSION/%.+([0-9])/}/alpine"
"traefik:${VERSION}!./${VERSION/%.+([0-9])/}/scratch"
"traefik:${VERSION}-alpine!./${VERSION/%.+([0-9a-z\-])/}/alpine"
"traefik:${VERSION}!./${VERSION/%.+([0-9a-z\-])/}/scratch"
)

for target in ${TARGETS[@]}; do
Expand Down

0 comments on commit 7a2c8f8

Please sign in to comment.