We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 625b518 commit 5df518dCopy full SHA for 5df518d
7.2/alpine3.8/fpm/publish-image.sh
@@ -1,15 +1,15 @@
1
#!/bin/sh
2
3
-image="polyverse/ps-php7.2-fpm-alpine"
+image="polyverse/ps-php7.2-fpm"
4
5
echo "$(date) Obtaining current git sha for tagging the docker image"
6
headsha=$(git rev-parse --verify HEAD)
7
8
9
-docker build -t $image:$headsha .
10
-docker push $image:$headsha
+docker build -t $image:alpine-$headsha .
+docker push $image:alpine-$headsha
11
12
echo "Pushing as latest tag..."
13
-docker tag $image:$headsha $image:latest
+docker tag $image:alpine-$headsha $image:latest
14
docker push $image:latest
15
0 commit comments