This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
name: Build-Test-Publish
|
||||
run-name: ${{ gitea.actor }} is building, testing and publishing Simple Object Storage
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: gitea.jde.nz/public/cppbuilder:latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Build the project
|
||||
run: |
|
||||
./build.sh all
|
||||
- name: Test the project
|
||||
- name: Build and Test the x86 version of the project
|
||||
run: |
|
||||
./test-docker.sh
|
||||
- name: Push the Docker image
|
||||
- name: Build cross-platform versions (amd64 and arm64)
|
||||
run: |
|
||||
./build.sh all
|
||||
- name: Build and Push amd64 + arm64 Docker image to the registry
|
||||
run: |
|
||||
./publish.sh
|
||||
|
||||
|
Reference in New Issue
Block a user