Repository navigation
Add apk upgrade and modernize docker-compose installation to address security vulnerabilities #57
Workflow file for this run
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: Test container structure | |
| 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@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 appwrite-base-test . | |
| container-structure-test test --image appwrite-base-test --config tests.yaml |