Skip to content

Merge pull request #44 from Naresh-chandanbatve/main #29

Merge pull request #44 from Naresh-chandanbatve/main

Merge pull request #44 from Naresh-chandanbatve/main #29

name: Build and Push Docker Images
on:
push:
branches:
- main
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
- name: Build and push Server Docker image
uses: docker/build-push-action@v2
with:
context: ./server
push: true
tags: nareshchandanbatve/arrow_server:1.0.0