fixed tag in build script
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
docker build --no-cache -t tabledevil/sep:latest -f sep_dev.dockerfile .
|
docker build --no-cache -t tabledevil/sep:latest -f sep_dev.dockerfile .
|
||||||
tag=$(docker run -it tabledevil/sep:latest version | grep -Pio "(?<=Dockertag: )[\d._]+" )
|
tag=$( docker run -it tabledevil/sep:latest tag )
|
||||||
echo "NEW TAG : ${tag}"
|
echo "NEW TAG : ${tag}"
|
||||||
docker tag tabledevil/sep tabledevil/sep:${tag}
|
docker tag tabledevil/sep tabledevil/sep:${tag}
|
||||||
docker push "tabledevil/sep:${tag}"
|
docker push "tabledevil/sep:${tag}"
|
||||||
|
|||||||
Reference in New Issue
Block a user