Skip to content

Commit

Permalink
Build and publish Docker image using GitHub workflow (#140)
Browse files Browse the repository at this point in the history
* ci: add publish docker image workflow

* ci: move workflow file to the correct folder

* docs: update changelog

* ci: change on push branch to `main`

* ci: use variable instead of hard code docker username
  • Loading branch information
xiaohai-huang authored Aug 20, 2023
1 parent 9627a0f commit 0e0465d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish-docker-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docker Image CI

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and Push the Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/tts-generation-webui
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ Google Colab demo: [![Open In Colab](https://colab.research.google.com/assets/co
https://rsxdalv.github.io/bark-speaker-directory/

## Changelog


Aug 18:
* CI: Add a GitHub Action to automatically publish docker image.

Aug 16:
* Add "name" to tortoise generation parameters

Expand All @@ -60,6 +65,7 @@ Aug 7:
Aug 6:
* Fix audiogen + mbd error, add tortoise fix for colab


Aug 4:
* Add MultiBandDiffusion option to MusicGen https://github.com/rsxdalv/tts-generation-webui/pull/109
* MusicGen/AudioGen save tokens on generation as .npz files.
Expand Down

0 comments on commit 0e0465d

Please sign in to comment.