Skip to content

Commit

Permalink
wodby is now default user wodby/php#22
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Feb 9, 2018
1 parent 6aa6172 commit 9672116
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
18 changes: 11 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ env:
global:
- LATEST_TAG=7.2
matrix:
- TAG=7.2 PHP_VER=7.2
- TAG=7.2 PHP_VER=7.2 EXTRA_TAG=7
- TAG=7.1 PHP_VER=7.1
- TAG=7.0 PHP_VER=7.0
- TAG=5.6 PHP_VER=5.6
- TAG=7.2-dev PHP_VER=7.2 PHP_DEV=1
- TAG=5.6 PHP_VER=5.6 EXTRA_TAG=5
- TAG=7.2-dev PHP_VER=7.2 PHP_DEV=1 EXTRA_TAG=7-dev
- TAG=7.1-dev PHP_VER=7.1 PHP_DEV=1
- TAG=7.0-dev PHP_VER=7.0 PHP_DEV=1
- TAG=5.6-dev PHP_VER=5.6 PHP_DEV=1
- TAG=5.6-dev PHP_VER=5.6 PHP_DEV=1 EXTRA_TAG=5-dev

script:
- make && make test
script: |
make
make test
after_success: |
if [[ "${TRAVIS_PULL_REQUEST}" == "false" && ("${TRAVIS_BRANCH}" == "master" || -n "${TRAVIS_TAG}") ]]; then
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"
Expand All @@ -29,6 +29,10 @@ after_success: |
make release
if [[ -n "${EXTRA_TAG}" ]]; then
make release TAG="${EXTRA_TAG}"
fi
if [[ "${TAG}" == "${LATEST_TAG}" ]]; then
make release TAG="latest"
fi
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ USER root

RUN set -ex; \
\
su-exec www-data composer global require wp-cli/wp-cli; \
su-exec www-data composer clear-cache; \
su-exec wodby composer global require wp-cli/wp-cli; \
su-exec wodby composer clear-cache; \
\
mv /usr/local/bin/actions.mk /usr/local/bin/php.mk

USER www-data
USER wodby

COPY templates /etc/gotpl/
COPY actions /usr/local/bin
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ Overview:

Supported tags and respective `Dockerfile` links:

* `7.2`, `latest` [_(Dockerfile)_]
* `7`, `7.2`, `latest` [_(Dockerfile)_]
* `7.1` [_(Dockerfile)_]
* `7.0` [_(Dockerfile)_]
* `5.6` [_(Dockerfile)_]
* `7.2-dev` [_(Dockerfile)_]
* `5`, `5.6` [_(Dockerfile)_]
* `7-dev`, `7.2-dev` [_(Dockerfile)_]
* `7.1-dev` [_(Dockerfile)_]
* `7.0-dev` [_(Dockerfile)_]
* `5.6-dev` [_(Dockerfile)_]
* `5-dev`, `5.6-dev` [_(Dockerfile)_]

For better reliability we additionally release images with stability tags (`wodby/wordpress-php:7.1-X.X.X`) which correspond to git tags. We **strongly recommend** using images only with stability tags.

Expand Down

0 comments on commit 9672116

Please sign in to comment.