Merge pull request #620 from christianlupus/fix/nightly

Disable testing in repos without secrets
This commit is contained in:
Christian 2021-02-27 15:47:19 +01:00 коммит произвёл GitHub
Родитель cc3082fa1d 5954f92d97
Коммит ff20188a45
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 16 добавлений и 0 удалений

14
.github/workflows/build-test-images.yml поставляемый
Просмотреть файл

@ -17,8 +17,21 @@ jobs:
- "7.3"
- "8"
steps:
- name: Check if secret is known
shell: bash
id: check
run: |
echo "::set-output name=skip::false"
if [ -z "${{ secrets.DOCKER_HUB_TOKEN }}" ]; then
echo "::set-output name=skip::true"
fi
if [ -z "${{ secrets.DOCKER_HUB_USERNAME }}" ]; then
echo "::set-output name=skip::true"
fi
- name: Checkout the app
uses: actions/checkout@v2
if: ${{ steps.check.outputs.skip == 'false' }}
- name: Build and push the image
shell: bash
@ -31,3 +44,4 @@ jobs:
export COMPOSE_DOCKER_CLI_BUILD=1 &&
PHP_VERSION=${{ matrix.phpVersion }}
./run-locally.sh --pull --create-images --push-images
if: ${{ steps.check.outputs.skip == 'false' }}

Просмотреть файл

@ -11,6 +11,8 @@
[#608](https://github.com/nextcloud/cookbook/pull/608) @christianlupus
- More code styling, cleanup & minor bugfixes
[#615](https://github.com/nextcloud/cookbook/pull/615) @seyfeb
- Avoid daily issues in personal forks due to missing secrets
[#620](https://github.com/nextcloud/cookbook/pull/620) @christianlupus
## Deprecated
- Obsolete routes to old user interface, see `appinfo/routes.php`