Skip to content

Commit 95206c2

Browse files
committed
fixed docker tag issue
1 parent 71327db commit 95206c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

7.2/alpine3.8/fpm/publish-image.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ echo "$(date) Obtaining current git sha for tagging the docker image"
66
headsha=$(git rev-parse --verify HEAD)
77

88

9-
docker build -t $image:alpine-$headsha .
10-
docker push $image:alpine-$headsha
9+
docker build -t $image:$headsha .
10+
docker push $image:$headsha
1111

1212
echo "Pushing as latest tag..."
13-
docker tag $image:alpine-$headsha $image:latest
13+
docker tag $image:$headsha $image:latest
1414
docker push $image:latest
1515

0 commit comments

Comments
 (0)