Skip to content

added build pipeline #16

added build pipeline

added build pipeline #16

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: Docker build and push
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:client"
push: true
tags: ${{ env.DOCKER_REPO}}:latest