From f787dda6a9619161bd1663e8d2c228b8f5f4dad7 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 18 Jun 2022 10:53:29 +0300 Subject: [PATCH] build-arm32.sh --- build-arm32v7.sh => build-arm32.sh | 2 +- src/api/NetworkResurrector.Api/Notes/Docker-arm32v7.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename build-arm32v7.sh => build-arm32.sh (97%) diff --git a/build-arm32v7.sh b/build-arm32.sh similarity index 97% rename from build-arm32v7.sh rename to build-arm32.sh index 2b70f39..c80ebb4 100644 --- a/build-arm32v7.sh +++ b/build-arm32.sh @@ -9,7 +9,7 @@ echo "Login to dockerhub registry." docker login --username=tstanciu --password=$dockerHubRegistryPass echo "Create docker image with version $version and publish it to dockerhub registry." -docker buildx build --build-arg APP_VERSION=$version --platform linux/arm/v7 -t "tstanciu/sta-registry:network-resurrector-api-$version-arm32v7" -f "src/api/NetworkResurrector.Api/Docker/arm32v7/Dockerfile" --push . +docker buildx build --build-arg APP_VERSION=$version --platform linux/arm/v7 -t "tstanciu/sta-registry:network-resurrector-api-$version-arm32v7" -f "src/api/NetworkResurrector.Api/Docker/arm32/Dockerfile" --push . echo "Pull docker image with version $version from dockerhub registry." docker pull tstanciu/sta-registry:network-resurrector-api-$version-arm32v7 diff --git a/src/api/NetworkResurrector.Api/Notes/Docker-arm32v7.txt b/src/api/NetworkResurrector.Api/Notes/Docker-arm32v7.txt index 70e52a1..5ce65a9 100644 --- a/src/api/NetworkResurrector.Api/Notes/Docker-arm32v7.txt +++ b/src/api/NetworkResurrector.Api/Notes/Docker-arm32v7.txt @@ -6,7 +6,7 @@ Create image and push it: docker login --username=tstanciu --password="***REMOVED***" --from solution folder: -docker buildx build --platform linux/arm/v7 -t "tstanciu/sta-registry:network-resurrector-api-1.0.1-arm32v7" -f "src/api/NetworkResurrector.Api/Docker/arm32v7/Dockerfile" --push . +docker buildx build --platform linux/arm/v7 -t "tstanciu/sta-registry:network-resurrector-api-1.0.1-arm32v7" -f "src/api/NetworkResurrector.Api/Docker/arm32/Dockerfile" --push . # With insecure registry docker buildx build --platform linux/arm/v7 -t "alpine-nexus:8500/network-resurrector/network-resurrector-api:1.0.1-arm" -f "src/api/NetworkResurrector.Api/Docker/arm32v7/Dockerfile" --push .