Improve build script
Some checks failed
Create and publish container / build_container (push) Failing after 10s
Some checks failed
Create and publish container / build_container (push) Failing after 10s
This commit is contained in:
@@ -6,4 +6,6 @@ echo "Build directory is $(pwd)"
|
|||||||
OLD_IMG=docker image ls -q "$1"
|
OLD_IMG=docker image ls -q "$1"
|
||||||
docker buildx build . -t "$1"
|
docker buildx build . -t "$1"
|
||||||
docker push "$1"
|
docker push "$1"
|
||||||
|
|
||||||
|
echo "New build uploaded, removing old image, id: $OLD_IMG"
|
||||||
docker image rm "$OLD_IMG"
|
docker image rm "$OLD_IMG"
|
||||||
|
|||||||
Reference in New Issue
Block a user