Skip to content

added build pipeline #21

added build pipeline

added build pipeline #21

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
env:
DOCKER_USERNAME: nivezra
jobs:
build-client:
runs-on: ubuntu-latest
env:
DOCKER_REPO: nivezra/super-bulb-client
steps:
# - name: Checkout
# uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Docker image
run: docker build -t $DOCKER_REPO:$GITHUB_SHA -t $DOCKER_REPO:latest -f ./client/Dockerfile .