updated release workflow

This commit is contained in:
Yannic Kilcher
2022-12-17 22:49:55 +01:00
parent fbf4801296
commit 819ecaa8b3
3 changed files with 13 additions and 32 deletions
-16
View File
@@ -1,16 +0,0 @@
name: (Backend) Publish Docker Image
on:
push:
paths:
- "backend/**"
tags:
- v*
jobs:
build:
uses: ./.github/workflows/docker-build.yaml
with:
image-name: backend
folder: backend
build-args: ""
-16
View File
@@ -1,16 +0,0 @@
name: (Bot) Publish Docker Image
on:
push:
paths:
- "bot/**"
tags:
- v*
jobs:
build:
uses: ./.github/workflows/docker-build.yaml
with:
image-name: bot
folder: bot
build-args: ""
+13
View File
@@ -0,0 +1,13 @@
name: Release
on:
release:
types: [released]
jobs:
build-backend:
uses: ./.github/workflows/docker-build.yaml
with:
image-name: ocgpt-backend
folder: backend
build-args: ""