diff --git a/Scripts/build.sh b/Scripts/build.sh index cfaeff4..986d65b 100644 --- a/Scripts/build.sh +++ b/Scripts/build.sh @@ -6,7 +6,7 @@ dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # Define image variables user="dleclercpro" app="samurai" -release="latest" +release="2.4.0" # Build a cross-platform image and push it to Dockerhub docker buildx build --platform linux/amd64,linux/arm64 -t $user/$app:$release -f ./Dockerfile . --push \ No newline at end of file diff --git a/docker-compose.local.yml b/docker-compose.local.yml index e2e18bc..bf144fc 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -4,7 +4,7 @@ version: '3.8' services: app: container_name: samurai-app - image: dleclercpro/samurai:latest + image: dleclercpro/samurai:2.4.0 restart: always ports: - 80:80 diff --git a/docker-compose.yml b/docker-compose.yml index c245f0e..980cf66 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ version: '3.8' services: app: container_name: samurai-app - image: dleclercpro/samurai:latest + image: dleclercpro/samurai:2.4.0 restart: always depends_on: - redis