Skip to content

improved exception & error handling #1 #4

improved exception & error handling #1

improved exception & error handling #1 #4

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- main
jobs:
build:
name: push docker image to docker hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: login to docker hub
id: docker-hub
env:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_TOKEN}}
run: |
docker login -u $username -p $password
- name: build the docker image
id: build-docker-image
run: |
docker build -t michivonah/ep-alerts:latest .
- name: push the docker image
id: push-docker-image
run: docker push michivonah/ep-alerts:latest