Skip to content

🐳 Build & Publish Docker Image #4

🐳 Build & Publish Docker Image

🐳 Build & Publish Docker Image #4

Workflow file for this run

on:
workflow_dispatch:
name: 🐳 Build & Publish Docker Image
jobs:
build-container:
runs-on: ubuntu-latest
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 --load .
docker buildx build --tag vienna-builder-vtk --build-arg VTK="True" --load .
docker image tag vienna-builder ghcr.io/viennatools/vienna-builder:stock
docker image tag vienna-builder-vtk ghcr.io/viennatools/vienna-builder:vtk
docker push ghcr.io/viennatools/vienna-builder:stock
docker push ghcr.io/viennatools/vienna-builder:vtk