build-arm32.sh
parent
8072027c2b
commit
f787dda6a9
|
@ -9,7 +9,7 @@ echo "Login to dockerhub registry."
|
||||||
docker login --username=tstanciu --password=$dockerHubRegistryPass
|
docker login --username=tstanciu --password=$dockerHubRegistryPass
|
||||||
|
|
||||||
echo "Create docker image with version $version and publish it to dockerhub registry."
|
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."
|
echo "Pull docker image with version $version from dockerhub registry."
|
||||||
docker pull tstanciu/sta-registry:network-resurrector-api-$version-arm32v7
|
docker pull tstanciu/sta-registry:network-resurrector-api-$version-arm32v7
|
|
@ -6,7 +6,7 @@ Create image and push it:
|
||||||
docker login --username=tstanciu --password="***REMOVED***"
|
docker login --username=tstanciu --password="***REMOVED***"
|
||||||
|
|
||||||
--from solution folder:
|
--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
|
# 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 .
|
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 .
|
||||||
|
|
Loading…
Reference in New Issue