Browse Source

Adding latest tagging to build.sh

bodicsek 7 years ago
parent
commit
8a35bf5b6a
1 changed files with 5 additions and 1 deletions
  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