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