ci: create test build and release build actions
This commit is contained in:
1 parent
9ca4db2367
commit
e1b14d2457
2 files changed
+24
-4
No files matched your search
@@ -0,0 +1,19 @@
|
||||
name: Docker build test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "main"
|
||||
- "develop"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build .
|
||||
@@ -1,8 +1,9 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
- "main"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -10,7 +11,7 @@ permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
Reference in new issue
Block a user