Updated PHP, Swoole, Imagemagick, Add more CI scanning, ... #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Container Structure Test | |
| on: [pull_request] | |
| env: | |
| REGISTRY: docker.io | |
| IMAGE_NAME: appwrite/base | |
| TAG: ${{ github.event.release.tag_name }} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repo | |
| uses: actions/checkout@v6.0.2 | |
| - 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 appwrite-base-test . | |
| container-structure-test test --image appwrite-base-test --config tests.yaml |