Commit 8059fcf8 authored by Ishtiaq Ahmed's avatar Ishtiaq Ahmed

Update docker-build.sh

parent 7d0c369d
#!/bin/sh #!/bin/sh
docker build -t my-app:VERSION . docker build -t nisum-cicd-task:VERSION .
docker tag my-app:VERSION mshussain/my-app:VERSION docker tag nisum-cicd-task:VERSION ishtiaq79/nisum-cicd-task:VERSION
echo $PASS | docker login -u $USER --password-stdin echo $PASS | docker login -u $USER --password-stdin
docker push mshussain/my-app:VERSION docker push ishtiaq79/nisum-cicd-task:VERSION
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment