Skip to content

Commit

Permalink
misc(ci): Add GitHub Actions docker build and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Kissaki committed Mar 11, 2024
1 parent fee2245 commit e559852
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker-image_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker Image Publish
on:
push:
branches: ["master"]
jobs:
publish:
runs-on: ubuntu-latest
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@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./Dockerfile
push: true
tags: mumo

0 comments on commit e559852

Please sign in to comment.