Skip to content

Dockerfiles

Dockerfiles #3

Workflow file for this run

name: Test container structure
on:
pull_request:
branches:
- main
env:
REGISTRY: docker.io
IMAGE_NAME: appwrite/base
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.3'] # add PHP versions as required
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Setup container structure test
run: |
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test-linux-amd64
chmod +x container-structure-test-linux-amd64
sudo mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test
- name: Run container structure test
run: |
docker build -t utopia-base-test php-${{ matrix.php-versions }}/.
container-structure-test test --image utopia-base-test --config tests.yaml