Skip to content

Add 30.0.0, Upgrade to 29.0.7 28.0.10, Remove 27 #322

Add 30.0.0, Upgrade to 29.0.7 28.0.10, Remove 27

Add 30.0.0, Upgrade to 29.0.7 28.0.10, Remove 27 #322

Workflow file for this run

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'master'
paths-ignore:
- '**.md'
pull_request:
branches:
- 'master'
paths-ignore:
- '**.md'
env:
BUILD_TAG: nextcloud:test
CONTAINER_NAME: nextcloud
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
docker_file:
- Dockerfile-28
- Dockerfile-29
- Dockerfile-30
dir:
- mysql
- pgsql
- sqlite
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Build
uses: docker/bake-action@v5
with:
targets: image-local
env:
DEFAULT_TAG: ${{ env.BUILD_TAG }}
DOCKERFILE: ${{ matrix.docker_file }}
-
name: Start
run: |
docker compose up -d
working-directory: test/${{ matrix.dir }}
env:
NEXTCLOUD_IMAGE: ${{ env.BUILD_TAG }}
NEXTCLOUD_CONTAINER: ${{ env.CONTAINER_NAME }}
-
name: Check container logs
uses: crazy-max/.github/.github/actions/container-logs-check@main
with:
container_name: ${{ env.CONTAINER_NAME }}
log_check: "ready to handle connections"
-
name: Logs
if: always()
run: |
docker compose logs
working-directory: test/${{ matrix.dir }}
env:
NEXTCLOUD_IMAGE: ${{ env.BUILD_TAG }}
NEXTCLOUD_CONTAINER: ${{ env.CONTAINER_NAME }}