Added docker push script and build cicd
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
9
scripts/docker-push.sh
Executable file
9
scripts/docker-push.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=0.1.0
|
||||
LOCAL_IMAGE="athome"
|
||||
REMOTE_IMAGE="athome"
|
||||
|
||||
docker build -t $LOCAL_IMAGE .
|
||||
docker tag $LOCAL_IMAGE:latest mos4/$REMOTE_IMAGE:$VERSION
|
||||
docker push mos4/$REMOTE_IMAGE:$VERSION
|
||||
Reference in New Issue
Block a user