Build and push Docker images #347
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
name: Build and push Docker images | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 1 * * 1' | |
jobs: | |
base: | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: base | |
context: base | |
base_image: ubuntu:22.04 | |
base_image_gpu: nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04 | |
secrets: inherit | |
python-minimal: | |
needs: [base] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: python-minimal | |
context: python-minimal | |
base_image: base | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
python-datascience: | |
needs: [python-minimal] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: python-datascience | |
context: python-datascience | |
base_image: python-minimal | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
python-pytorch: | |
needs: [python-minimal] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: python-pytorch | |
context: python-pytorch | |
base_image: python-minimal | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
python-tensorflow: | |
needs: [python-minimal] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: python-tensorflow | |
context: python-tensorflow | |
base_image: python-minimal | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
r-minimal: | |
needs: [base] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: r-minimal | |
context: r-minimal | |
base_image: base | |
r_version_1: 4.4.1 | |
r_version_2: 4.3.3 | |
secrets: inherit | |
r-datascience: | |
needs: [r-minimal] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: r-datascience | |
context: r-datascience | |
base_image: r-minimal | |
r_version_1: 4.4.1 | |
r_version_2: 4.3.3 | |
secrets: inherit | |
jupyter-python: | |
needs: [python-datascience] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: jupyter-python | |
context: jupyter | |
base_image: python-datascience | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
vscode-python: | |
needs: [python-datascience] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: vscode-python | |
context: vscode | |
base_image: python-datascience | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
pyspark: | |
needs: [python-minimal] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: pyspark | |
context: spark | |
base_image: python-minimal | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
spark_version: 3.5.2 | |
build_gpu: false | |
secrets: inherit | |
jupyter-pyspark: | |
needs: [pyspark] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: jupyter-pyspark | |
context: jupyter | |
base_image: pyspark | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
spark_version: 3.5.2 | |
build_gpu: false | |
secrets: inherit | |
vscode-pyspark: | |
needs: [pyspark] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: vscode-pyspark | |
context: vscode | |
base_image: pyspark | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
spark_version: 3.5.2 | |
build_gpu: false | |
secrets: inherit | |
jupyter-pytorch: | |
needs: [python-pytorch] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: jupyter-pytorch | |
context: jupyter | |
base_image: python-pytorch | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
vscode-pytorch: | |
needs: [python-pytorch] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: vscode-pytorch | |
context: vscode | |
base_image: python-pytorch | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
jupyter-tensorflow: | |
needs: [python-tensorflow] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: jupyter-tensorflow | |
context: jupyter | |
base_image: python-tensorflow | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
vscode-tensorflow: | |
needs: [python-tensorflow] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: vscode-tensorflow | |
context: vscode | |
base_image: python-tensorflow | |
python_version_1: 3.12.6 | |
python_version_2: 3.11.10 | |
secrets: inherit | |
rstudio: | |
needs: [r-datascience] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: rstudio | |
context: rstudio | |
base_image: r-datascience | |
r_version_1: 4.4.1 | |
r_version_2: 4.3.3 | |
secrets: inherit | |
sparkr: | |
needs: [r-minimal] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: sparkr | |
context: spark | |
base_image: r-minimal | |
r_version_1: 4.4.1 | |
r_version_2: 4.3.3 | |
spark_version: 3.5.2 | |
build_gpu: false | |
secrets: inherit | |
rstudio-sparkr: | |
needs: [sparkr] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: rstudio-sparkr | |
context: rstudio | |
base_image: sparkr | |
r_version_1: 4.4.1 | |
r_version_2: 4.3.3 | |
spark_version: 3.5.2 | |
build_gpu: false | |
secrets: inherit | |
jupyter-r: | |
needs: [r-datascience] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: jupyter-r | |
context: jupyter | |
base_image: r-datascience | |
r_version_1: 4.4.1 | |
r_version_2: 4.3.3 | |
build_gpu: false | |
secrets: inherit | |
r-python-julia: | |
needs: [r-minimal] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: r-python-julia | |
context: r-python-julia | |
base_image: r-minimal | |
r_version_1: 4.4.1 | |
build_gpu: false | |
secrets: inherit | |
vscode-r-python-julia: | |
needs: [r-python-julia] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: vscode-r-python-julia | |
context: vscode | |
base_image: r-python-julia | |
r_version_1: 4.4.1 | |
build_gpu: false | |
secrets: inherit | |
vscode-r: | |
needs: [r-datascience] | |
uses: ./.github/workflows/main-workflow-template.yml | |
with: | |
image: vscode-r | |
context: vscode | |
base_image: r-datascience | |
r_version_1: 4.4.1 | |
r_version_2: 4.3.3 | |
build_gpu: false | |
secrets: inherit |