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 DataNode
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 DataNode
docker build . --tag msosav/ccs-file-system-datanode:latest
- name: Docker Push
run: docker push msosav/ccs-file-system-datanode