mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
ci(workflows): add release and deployment automation
This commit is contained in:
parent
3babb5ced6
commit
0e9432b5ff
7 changed files with 117 additions and 7 deletions
9
.github/workflows/docker-image.yml
vendored
9
.github/workflows/docker-image.yml
vendored
|
|
@ -1,11 +1,10 @@
|
|||
name: Build and Push Docker Images
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
# Ensure only one workflow run per branch at a time; cancel any in-progress runs on new push
|
||||
# Ensure only one workflow run per branch at a time; cancel any in-progress runs on new push
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
|
@ -19,7 +18,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
service:
|
||||
- "dograh-api|api/Dockerfile|./api"
|
||||
- "dograh-api|api/Dockerfile|."
|
||||
- "dograh-ui|ui/Dockerfile|./ui"
|
||||
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue