Skip to content

Commit 5df518d

Browse files
committed
fixed publish-image naming typo
1 parent 625b518 commit 5df518d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/bin/sh
22

3-
image="polyverse/ps-php7.2-fpm-alpine"
3+
image="polyverse/ps-php7.2-fpm"
44

55
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:$headsha .
10-
docker push $image:$headsha
9+
docker build -t $image:alpine-$headsha .
10+
docker push $image:alpine-$headsha
1111

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

0 commit comments

Comments
 (0)