Skip to content

Commit

Permalink
fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMcCullough committed Aug 28, 2024
1 parent 02f4e17 commit 272c02e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ build_module() {
verify_and_build_base_image

printf "${MAGENTA}Building module for NGINX ${NGINX_VERSION}...${NC}\n"
docker image build \
docker buildx build \
-f nginx.dockerfile \
-t ${FULL_IMAGE_NAME}:${NGINX_VERSION} \
--build-arg BASE_IMAGE=${baseImage} \
Expand All @@ -88,7 +88,7 @@ start_nginx() {
local port=$(get_port)

printf "${MAGENTA}Starting NGINX container (${IMAGE_NAME}) on port ${port}...${NC}\n"
docker run --rm --name "${IMAGE_NAME}" -d -p ${port}:80 ${FULL_IMAGE_NAME} >/dev/null
docker run --rm --name "${IMAGE_NAME}" -d -p ${port}:80 ${FULL_IMAGE_NAME}:${NGINX_VERSION} >/dev/null
}

stop_nginx() {
Expand Down Expand Up @@ -128,7 +128,7 @@ make_release() {
printf "${MAGENTA}Making release for version ${moduleVersion} for NGINX ${NGINX_VERSION}...${NC}\n"

rebuild_module
rebuild_test_runner
rebuild_test
test
cp_bin

Expand Down

0 comments on commit 272c02e

Please sign in to comment.