Skip to content

Update package.json #14

Update package.json

Update package.json #14

Workflow file for this run

name: core ui service docker Image CI
on:
push:
branches: [ "mf-build-docker" ]
pull_request:
branches: [ "mf-build" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
working-directory: ./micro-ui/web/packages/core
run: docker build . --file docker/Dockerfile --tag jaganegov/core-digit-ui:latest
- name: Login to Docker Hub and Push Docker Image
working-directory: ./micro-ui/web/packages/core
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
# Authenticate with Docker Hub
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# Push the image to Docker Hub
docker push jaganegov/mdms:latest