From ef2c1931d8801963eec76cf5f258095f5f111f1a Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Wed, 21 Jan 2026 21:52:25 +0100 Subject: [PATCH] Fix Docker repository name in build script - Update all Docker image references to use skoszewski/jmespath-playground - Fix build.sh to create properly namespaced Docker images for Docker Hub - Update Docker run command examples with correct repository name --- package.json | 2 +- scripts/build.sh | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index e807b78..500a1df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jmespath-playground", - "version": "1.1.3", + "version": "1.1.4", "description": "A React-based web application for testing JMESPath expressions against JSON data", "main": "index.js", "scripts": { diff --git a/scripts/build.sh b/scripts/build.sh index 77c4289..e792196 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -43,9 +43,9 @@ if command -v docker &> /dev/null; then docker build \ --build-arg VERSION="$VERSION" \ --build-arg IS_RELEASE="true" \ - -t jmespath-playground:$VERSION \ - -t jmespath-playground:latest . - echo "✅ Built Docker images: jmespath-playground:$VERSION, jmespath-playground:latest" + -t skoszewski/jmespath-playground:$VERSION \ + -t skoszewski/jmespath-playground:latest . + echo "✅ Built Docker images: skoszewski/jmespath-playground:$VERSION, skoszewski/jmespath-playground:latest" else # Development build PACKAGE_VERSION=$(grep '"version"' package.json | cut -d'"' -f4) @@ -54,9 +54,9 @@ if command -v docker &> /dev/null; then docker build \ --build-arg VERSION="$DEV_VERSION" \ --build-arg IS_RELEASE="false" \ - -t jmespath-playground:dev \ - -t jmespath-playground:latest . - echo "✅ Built Docker images: jmespath-playground:dev, jmespath-playground:latest" + -t skoszewski/jmespath-playground:dev \ + -t skoszewski/jmespath-playground:latest . + echo "✅ Built Docker images: skoszewski/jmespath-playground:dev, skoszewski/jmespath-playground:latest" fi else echo "💡 Docker not found. Container build is optional." @@ -70,9 +70,9 @@ echo " npm run server # Run integrated server locally" if command -v docker &> /dev/null; then VERSION=$(git tag --points-at HEAD 2>/dev/null | sed 's/^v//' | head -n 1) if [ -n "$VERSION" ]; then - echo " docker run -p 3000:3000 jmespath-playground:$VERSION # Run release container" + echo " docker run -p 3000:3000 skoszewski/jmespath-playground:$VERSION # Run release container" else - echo " docker run -p 3000:3000 jmespath-playground:dev # Run dev container" + echo " docker run -p 3000:3000 skoszewski/jmespath-playground:dev # Run dev container" fi - echo " docker run -p 3000:3000 jmespath-playground:latest # Run latest container" + echo " docker run -p 3000:3000 skoszewski/jmespath-playground:latest # Run latest container" fi \ No newline at end of file