chore: update min dokku version and only test push on master branch

This commit is contained in:
Jose Diaz-Gonzalez
2021-04-24 13:57:19 -04:00
parent 21df3ee116
commit dafc9c7a2d
3 changed files with 6 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ on:
- '*' - '*'
push: push:
branches: branches:
- '*' - master
jobs: jobs:
unit-tests: unit-tests:
@@ -19,6 +19,7 @@ jobs:
matrix: matrix:
dokku-version: dokku-version:
- master - master
- v0.19.0
env: env:
DOKKU_VERSION: ${{ matrix.dokku-version }} DOKKU_VERSION: ${{ matrix.dokku-version }}

View File

@@ -4,13 +4,13 @@ Official redis plugin for dokku. Currently defaults to installing [redis 5.0.7](
## Requirements ## Requirements
- dokku 0.12.x+ - dokku 0.19.x+
- docker 1.8.x - docker 1.8.x
## Installation ## Installation
```shell ```shell
# on 0.12.x+ # on 0.19.x+
sudo dokku plugin:install https://github.com/dokku/dokku-redis.git redis sudo dokku plugin:install https://github.com/dokku/dokku-redis.git redis
``` ```

View File

@@ -506,7 +506,7 @@ def main():
sponsors = re.search("\[([\"\w\s,_-]+)\]", line).group(1) sponsors = re.search("\[([\"\w\s,_-]+)\]", line).group(1)
sponsors = [s.strip("\"") for s in sponsors.split(",")] sponsors = [s.strip("\"") for s in sponsors.split(",")]
text = compile(service, version, variable, alias, image, scheme, ports, sponsors, unimplemented, "0.12.x+") text = compile(service, version, variable, alias, image, scheme, ports, sponsors, unimplemented, "0.19.x+")
base_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) base_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
readme_file = os.path.join(base_path, "README.md") readme_file = os.path.join(base_path, "README.md")