fix: add python3-dev #18
This file contains 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
on: | |
push: | |
workflow_dispatch: | |
name: π³ Build & Publish Docker Image | |
jobs: | |
build-container: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: stock | |
- name: vtk | |
vtk: "True" | |
- name: python | |
python: "True" | |
- name: vtk-python | |
python: "True" | |
vtk: "True" | |
name: "π³ Build Container (π: ${{ matrix.python || 'False' }}, π§°: ${{ matrix.vtk || 'False' }})" | |
steps: | |
- name: π₯ Checkout | |
uses: actions/checkout@v4 | |
- name: π Setup Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: π Login | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: β»οΈ Publish Images | |
run: | | |
docker buildx build --tag vienna-builder --build-arg VTK="${{ matrix.vtk || 'False' }}" --build-arg PYTHON="${{ matrix.python || 'False' }}" --load . | |
docker image tag vienna-builder ghcr.io/viennatools/vienna-builder:${{ matrix.name }} | |
docker push ghcr.io/viennatools/vienna-builder:${{ matrix.name }} |