Skip to content

Commit e0c17a6

Browse files
committed
feat: unit test for nginx-aws-signature
1 parent 4acc742 commit e0c17a6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
#
4-
# Copyright 2020 F5 Networks
4+
# Copyright 2023 F5, Inc.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -237,29 +237,29 @@ if [ "${nginx_type}" = "plus" ]; then
237237
if docker buildx > /dev/null 2>&1; then
238238
p "Building using BuildKit"
239239
export DOCKER_BUILDKIT=1
240-
docker build -f Dockerfile.buildkit.${nginx_type} \
240+
docker build -f test/docker/Dockerfile.buildkit.${nginx_type} \
241241
--secret id=nginx-crt,src=plus/etc/ssl/nginx/nginx-repo.crt \
242242
--secret id=nginx-key,src=plus/etc/ssl/nginx/nginx-repo.key \
243243
--no-cache --squash \
244244
--tag nginx-s3-gateway --tag nginx-s3-gateway:${nginx_type} .
245245
else
246-
docker build -f Dockerfile.${nginx_type} \
246+
docker build -f test/docker/Dockerfile.${nginx_type} \
247247
--tag nginx-s3-gateway --tag nginx-s3-gateway:${nginx_type} .
248248
fi
249249
else
250-
docker build -f Dockerfile.${nginx_type} \
250+
docker build -f test/docker/Dockerfile.${nginx_type} \
251251
--tag nginx-s3-gateway --tag nginx-s3-gateway:${nginx_type} .
252252
fi
253253

254254
if [ ${njs_latest} -eq 1 ]; then
255255
p "Layering in latest NJS build"
256-
docker build -f Dockerfile.latest-njs \
256+
docker build -f test/docker/Dockerfile.latest-njs \
257257
--tag nginx-s3-gateway --tag nginx-s3-gateway:latest-njs-${nginx_type} .
258258
fi
259259

260260
if [ ${unprivileged} -eq 1 ]; then
261261
p "Layering in unprivileged build"
262-
docker build -f Dockerfile.unprivileged \
262+
docker build -f test/docker/Dockerfile.unprivileged \
263263
--tag nginx-s3-gateway --tag nginx-s3-gateway:unprivileged-${nginx_type} .
264264
fi
265265

File renamed without changes.

0 commit comments

Comments
 (0)