Ver código fonte

Adding latest tagging to build.sh

bodicsek 7 anos atrás
pai
commit
8a35bf5b6a
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      build.sh

+ 5 - 1
build.sh

@@ -1,4 +1,8 @@
 #!/bin/bash
 
-docker build --force-rm -t bodicsek/nextcloud-armhf:13.0.2 .
+VERSION=13.0.2
+
+docker build --force-rm -t bodicsek/nextcloud-armhf:$VERSION .
+
+docker tag bodicsek/nextcloud-armhf:$VERSION bodicsek/nextcloud-armhf:latest