Fix broken test merged to main #123
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: Build docker image on push | |
| on: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build the Docker image | |
| env: | |
| EXTENSION_VERSION: ${{ github.head_ref || github.ref_name }} | |
| GITHUB_ORG: ${{ github.event.pull_request.head.repo.owner.login || github.repository_owner }} | |
| run: | | |
| echo "FROM python:3.10-slim-bullseye" | cat - Dockerfile | docker build \ | |
| --build-arg EXTENSION_VERSION=$EXTENSION_VERSION \ | |
| --build-arg GITHUB_ORG=$GITHUB_ORG \ | |
| - |