1 create data prepossessing pipeline for raw data #5
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: SeeTrue AI Docker Image CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Checkout the code | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Step 2: Log in to Docker Hub (optional - skip if not needed) | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
# Step 3: Build the Docker image | |
- name: Build Docker Image | |
run: | | |
docker build -t vykp00/seetrue-ai:latest fast_server | |
# Step 4: Push the Docker image to Docker Hub (optional) | |
- name: Push Docker Image | |
run: | | |
docker push vykp00/seetrue-ai:latest |