Skip to content

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and Push the Docker image
run: |
docker login --username MbIT9I --password ${{ secrets.GHCR_TOKEN }} ghcr.io
docker build . --file Dockerfile --tag ghcr.io/mbit9i/eam_app:latest
docker push ghcr.io/mbit9i/eam_app:latest