This commit is contained in:
21
.gitea/workflows/buildtestpublish.yaml
Normal file
21
.gitea/workflows/buildtestpublish.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Build the project
|
||||
run: |
|
||||
./build.sh all
|
||||
- name: Test the project
|
||||
run: |
|
||||
./test-docker.sh
|
||||
- name: Push the Docker image
|
||||
run: |
|
||||
./publish.sh
|
||||
|
||||
|
Reference in New Issue
Block a user