Refactor build of docker images
This commit is contained in:
parent
8e2eebb197
commit
ea8e711d2c
21 changed files with 89 additions and 183 deletions
|
|
@ -27,9 +27,7 @@ endif
|
|||
# TODO: avoid manual copy
|
||||
cp -R $(DIR)/../../test/e2e/settings/ocsp/* .
|
||||
|
||||
docker buildx build \
|
||||
--load \
|
||||
--progress plain \
|
||||
docker build \
|
||||
--tag nginx-ingress-controller:e2e .
|
||||
|
||||
.PHONY: clean
|
||||
|
|
|
|||
|
|
@ -96,11 +96,9 @@ then
|
|||
else
|
||||
echo "Image builds were not ok! Log:"
|
||||
cat /tmp/log
|
||||
exit
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker tag ${REGISTRY}/nginx-ingress-controller-${ARCH}:${TAG} ${REGISTRY}/nginx-ingress-controller:${TAG}
|
||||
|
||||
# Preload images used in e2e tests
|
||||
docker pull moul/grpcbin
|
||||
docker pull quay.io/kubernetes-ingress-controller/nginx:e3c49c52f4b74fe47ad65d6f3266a02e8b6b622f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue