Skip to content

Merge pull request #5 from bharathk005/workflow #6

Merge pull request #5 from bharathk005/workflow

Merge pull request #5 from bharathk005/workflow #6

Workflow file for this run

name: Cassata-CI
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag bharathk005/cassata:latest
- name: Push the Docker image
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin
docker push bharathk005/cassata:latest