diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41bb9d262..81a683496 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,6 +111,21 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and export to Docker + uses: docker/build-push-action@v6 + with: + context: . + load: true + build-args: | + LOGPREP_VERSION=dev + PYTHON_VERSION=${{ matrix.python-version }} + tags: | + ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.head_ref }} + + - name: Test + run: | + docker run --rm ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.head_ref }} --version + - name: Build images uses: docker/build-push-action@v5 with: