Initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
18
5g-uulm-network-monitoring/local-docker-push.sh
Executable file
18
5g-uulm-network-monitoring/local-docker-push.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# docker tag SOURCE_IMAGE[:TAG] 192.168.100.2:5000/uulm/<COMPONENT_NAME>:<VERSION>
|
||||
# docker push 192.168.100.2:5000/uulm/<COMPONENT_NAME>:<VERSION>
|
||||
|
||||
REGISTRY="mos4"
|
||||
|
||||
CL_TAG=v1.3.0
|
||||
REMOTE_CL_IMAGE=passive_network_monitoring
|
||||
docker buildx build --platform linux/amd64,linux/arm64 -f ./docker/nmcli_default.Dockerfile -t $REGISTRY/$REMOTE_CL_IMAGE:$CL_TAG . --push
|
||||
|
||||
NGINX_VERSION=v1.2.2
|
||||
LOCAL_NGINX_IMAGE=nginx-stream
|
||||
REMOTE_NGINX_IMAGE=nginx
|
||||
# docker buildx build --platform linux/amd64 -f ./docker/nginx.Dockerfile -t $REGISTRY/$REMOTE_NGINX_IMAGE:$NGINX_VERSION --push .
|
||||
docker build -f ./docker/nginx.Dockerfile -t $LOCAL_NGINX_IMAGE .
|
||||
docker tag $LOCAL_NGINX_IMAGE $REGISTRY/$REMOTE_NGINX_IMAGE:$NGINX_VERSION
|
||||
docker push $REGISTRY/$REMOTE_NGINX_IMAGE:$NGINX_VERSION
|
||||
Reference in New Issue
Block a user