Skip to content

Commit 0a6d268

Browse files
authored
Merge pull request #88 from stronk7/7.2-buster
Switch default 7.2 from stretch to buster (add hook)
2 parents b862ac0 + 0a24d36 commit 0a6d268

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A Moodle PHP environment configured for Moodle development based on [Official PH
66

77
| PHP Version | Variant | Tags | Status |
88
|--------------|---------|------------------|--------|
9-
| PHP 7.2 | Buster | 7.2-buster | [![Build Status](https://travis-ci.org/moodlehq/moodle-php-apache.svg?branch=7.2-buster)](https://travis-ci.org/moodlehq/moodle-php-apache)|
9+
| PHP 7.2 | Buster | 7.2, 7.2-buster | [![Build Status](https://travis-ci.org/moodlehq/moodle-php-apache.svg?branch=7.2-buster)](https://travis-ci.org/moodlehq/moodle-php-apache)|
1010

1111
For a complete list of supported versions, look to the [master README](https://github.com/moodlehq/moodle-php-apache/tree/master).
1212

hooks/post_push

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
# A space-separated list of additional tags to place on this image.
6+
additionalTags=(7.2)
7+
8+
# Tag and push image for each additional tag
9+
for tag in ${additionalTags[@]}; do
10+
echo "Tagging {$IMAGE_NAME} as ${DOCKER_REPO}:${tag}"
11+
docker tag $IMAGE_NAME ${DOCKER_REPO}:${tag}
12+
13+
echo "Pushing ${DOCKER_REPO}:${tag}"
14+
docker push ${DOCKER_REPO}:${tag}
15+
done

0 commit comments

Comments
 (0)