]> git.deb.at Git - rhonda/impostor.git/commitdiff
Modify docker workflow
authorAeonLucid <aeonlucid@outlook.com>
Sun, 1 Nov 2020 21:45:55 +0000 (22:45 +0100)
committerAeonLucid <aeonlucid@outlook.com>
Sun, 1 Nov 2020 21:45:55 +0000 (22:45 +0100)
.github/workflows/docker.yml

index cf1b936370426de5a3c958034f81101b1b786d17..b31207599be7c72f04f79bcc877f2fa20f35cf2e 100644 (file)
@@ -45,9 +45,7 @@ jobs:
           fi
           TAGS="${DOCKER_IMAGE}:${VERSION}"
           if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
-            MINOR=${VERSION%.*}
-            MAJOR=${MINOR%.*}
-            TAGS="$TAGS,${DOCKER_IMAGE}:${MINOR},${DOCKER_IMAGE}:${MAJOR},${DOCKER_IMAGE}:latest"
+            TAGS="$TAGS,${DOCKER_IMAGE}:latest"
           fi
           echo ::set-output name=version::${VERSION}
           echo ::set-output name=tags::${TAGS}