Skip to content

Merge branch 'main' of https://github.com/msosav/CCS-File-System #1

Merge branch 'main' of https://github.com/msosav/CCS-File-System

Merge branch 'main' of https://github.com/msosav/CCS-File-System #1

name: Docker Image CI NameNode
on:
push:
branches:
- "main"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Copy Project Code
uses: actions/checkout@v3
- name: Docker login
env:
DOCKER_USER: ${{secrets.DOCKERHUB_USER}}
DOCKER_PASS: ${{secrets.DOCKERHUB_PASS}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASS
- name: Build the Docker Image
run: |
cd NameNode
docker build . --tag msosav/ccs-file-system-namenode:latest
- name: Docker Push
run: docker push msosav/ccs-file-system-namenode