Skip to content

Commit 5d6c33f

Browse files
committed
7.4.0 (buster only) released
Also, added the post_push hook to get the 7.4 tag available
1 parent 576d019 commit 5d6c33f

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4.0RC6-apache-buster
1+
FROM php:7.4-apache-buster
22

33
ADD root/ /
44
# Fix the original permissions of /tmp, the PHP default upload tmp dir.

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.4rc6 | Buster | 7.4-buster | [![Build Status](https://travis-ci.org/stronk7/moodle-php-apache.svg?branch=7.4-buster)](https://travis-ci.org/stronk7/moodle-php-apache)|
9+
| PHP 7.4 | Buster | 7.4, 7.4-buster | [![Build Status](https://travis-ci.org/stronk7/moodle-php-apache.svg?branch=7.4-buster)](https://travis-ci.org/stronk7/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.4)
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)