mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-07-03 00:38:04 +00:00
Fixed alpine builds
This commit is contained in:
@@ -2,14 +2,14 @@
|
|||||||
TAGS="11 10 9.6 9.5 9.4"
|
TAGS="11 10 9.6 9.5 9.4"
|
||||||
|
|
||||||
git push --tags -f
|
git push --tags -f
|
||||||
|
git reset --hard
|
||||||
for TAG in $TAGS; do
|
for TAG in $TAGS; do
|
||||||
git reset --hard
|
sed -i "1 s,\$,:${TAG}," Dockerfile-debian
|
||||||
sed -i "1 s,\$,:$TAG," Dockerfile-debian
|
sed -i "1 s,:alpine\$,:${TAG}-alpine," Dockerfile-alpine
|
||||||
sed -i "1 s,\$,-$TAG," Dockerfile-alpine
|
|
||||||
git commit -m "Tag $TAG" Dockerfile-*
|
git commit -m "Tag $TAG" Dockerfile-*
|
||||||
git tag -f "$TAG"
|
git tag -f "$TAG"
|
||||||
# github events needs to push each tag separately
|
# github events needs to push each tag separately
|
||||||
git push --tags -f
|
git push --tags -f
|
||||||
git reset HEAD^
|
git reset HEAD^
|
||||||
|
git reset --hard
|
||||||
done
|
done
|
||||||
git reset --hard
|
|
||||||
|
|||||||
Reference in New Issue
Block a user