Skip to content

misc(ci): Add GitHub Actions docker build and publish #4

misc(ci): Add GitHub Actions docker build and publish

misc(ci): Add GitHub Actions docker build and publish #4

name: Docker Image Publish
on:
push:
branches: ["master"]
jobs:
publish:
runs-on: ubuntu-latest
environment: DockerHub
steps:
- uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: true
tags: mumo