Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ramvzz/mindsdb
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed committed Oct 3, 2024
2 parents 32ba8fe + 166290a commit 8fa21af
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docker Build and Push

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout the code
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
run: |
# Navigate to the directory containing the Dockerfile
docker buildx build --platform linux/amd64,linux/arm64 --tag sema4ai/sema4ai-data-server:latest --push --file docker/mindsdb.Dockerfile .

0 comments on commit 8fa21af

Please sign in to comment.