From 4fec7d0a499beb2bc41393f8a5268c9db9d6cf86 Mon Sep 17 00:00:00 2001 From: Alex ubuntu vm <alexdecb@yahoo.es> Date: Tue, 20 Feb 2024 11:35:16 +0100 Subject: [PATCH] images building script: updated latest dev version --- build/README.md | 8 ++++---- build/build_images.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/README.md b/build/README.md index ffa4396..84b128a 100644 --- a/build/README.md +++ b/build/README.md @@ -9,13 +9,13 @@ The files and scripts are meant to be run directly in the /L2S-M directory, as t - `./build/switch`: Dockerfile and related files for building the l2sm-switch Docker image. - `./build/controller`: Dockerfile and related files for building the l2sm-controller Docker image. - `./build/operator`: Dockerfile and related files for building the l2sm-operator Docker image. -- `./build/build_and_push_images.sh`: Bash script for automating the build and push process of Docker images. +- `./build/build_images.sh`: Bash script for automating the build and push process of Docker images. ## Script Usage: ### 1. Build Images: ```bash -./build/build_and_push_images.sh build +./build/build_images.sh build ``` This command will build Docker images for l2sm-switch, l2sm-controller, and l2sm-operator. @@ -23,7 +23,7 @@ This command will build Docker images for l2sm-switch, l2sm-controller, and l2sm ### 2. Push Images: ```bash -./build/build_and_push_images.sh push +./build/build_images.sh push ``` This command will push previously built Docker images to the specified DockerHub repository. @@ -31,7 +31,7 @@ This command will push previously built Docker images to the specified DockerHub ### 3. Build and Push Images: ```bash -./build/build_and_push_images.sh build_push +./build/build_images.sh build_push ``` This command will both build and push Docker images. diff --git a/build/build_images.sh b/build/build_images.sh index 6ae0244..6a2759b 100755 --- a/build/build_images.sh +++ b/build/build_images.sh @@ -2,7 +2,7 @@ set -e # Set environment variables -export VERSION="2.2" +export VERSION="2.3" export DOCKERHUB_REPO="alexdecb" # Function to build image -- GitLab