Skip to content

chore(docker): create docker build and push cd #1

chore(docker): create docker build and push cd

chore(docker): create docker build and push cd #1

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3
- name: Login to Docker Hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker Image
run: docker build -t anweisen/just_motd:latest .
- name: Push Docker Image
run: docker push anweisen/just_motd:latest