Skip to content

fix: suite check

fix: suite check #21

Workflow file for this run

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: suite
suite: "True"
- name: python
python: "True"
- name: suite-python
python: "True"
suite: "True"
name: "🐳 Build Container (🐍: ${{ matrix.python || 'False' }}, 🧰: ${{ matrix.suite || '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 SUITE="${{ matrix.suite || '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 }}