FEAT : Add Docker Container Build CI
This commit is contained in:
parent
a187a23153
commit
37333d89df
21
.github/workflows/main.yml
vendored
Normal file
21
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
jobs:
|
||||
docker_build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Docker Build
|
||||
run: docker build -t git.runa.pw/tmddn3070/RunaBot:latest .
|
||||
- name: Docker Registry
|
||||
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login git.runa.pw -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
- name: Docker Push
|
||||
run: docker push git.runa.pw/tmddn3070/RunaBot:latest
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
@ -109,7 +109,6 @@ async def process_prompt(prompt: str, remove: str, res: list, isnsfw: bool, styl
|
||||
"steps": 25,
|
||||
"cfg_scale": random.choice(cfg),
|
||||
"width": res[0],
|
||||
"height": res[1],
|
||||
"sampler_index": "DPM++ 2M Karras",
|
||||
"refiner_checkpoint": "smooREFINERV2R10_half",
|
||||
"refiner_switch_at": 0.45,
|
||||
|
Loading…
Reference in New Issue
Block a user