Skip to content

Commit

Permalink
add docker publish
Browse files Browse the repository at this point in the history
  • Loading branch information
moonheart committed Sep 26, 2023
1 parent a03ac03 commit 1819040
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,23 @@ jobs:
./publish-${{matrix.rid}}.zip
tag_name: dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-docker:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: moonheartmoon/mementomori-webui:v1
context: .
file: ./MementoMori.WebUI/Dockerfile

0 comments on commit 1819040

Please sign in to comment.