Skip to content

Merge ; commit '73e697dc0a9983b9e7be6ad99a16c89e20e7a3ab' #20

Merge ; commit '73e697dc0a9983b9e7be6ad99a16c89e20e7a3ab'

Merge ; commit '73e697dc0a9983b9e7be6ad99a16c89e20e7a3ab' #20

Workflow file for this run

name: Build and Push Docker Images
on:
push:
branches: [main]
paths:
- 'minio/**'
- 'weaviate/**'
- 'nginx/**'
- 'jupyter/**'
pull_request:
branches: [main]
paths:
- 'minio/**'
- 'weaviate/**'
- 'nginx/**'
- 'jupyter/**'
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push custom MinIO image
uses: docker/build-push-action@v3
with:
context: ./minio
file: ./minio/Dockerfile
push: true
tags: cdaprod/cda-minio:latest
platforms: linux/amd64,linux/arm64
- name: Build and push custom Weaviate image
uses: docker/build-push-action@v3
with:
context: ./weaviate
file: ./weaviate/Dockerfile
push: true
tags: cdaprod/cda-weaviate:latest
platforms: linux/amd64,linux/arm64
- name: Build and push custom NGINX image
uses: docker/build-push-action@v3
with:
context: ./nginx
file: ./nginx/Dockerfile
push: true
tags: cdaprod/cda-nginx:latest
platforms: linux/amd64,linux/arm64
- name: Build and push custom JupyterLab image
uses: docker/build-push-action@v3
with:
context: ./jupyter
file: ./jupyter/Dockerfile
push: true
tags: cdaprod/cda-jupyterlab:latest
platforms: linux/amd64,linux/arm64