Files
simple-object-server/.gitea/workflows/buildtestpublish.yaml
Your Name 08ac744dc1
All checks were successful
Build-Test-Publish / Build (push) Successful in 1m8s
:-'Generic Commit'
2025-05-30 23:22:09 +12:00

28 lines
843 B
YAML

name: Build-Test-Publish
run-name: ${{ gitea.actor }} is building, testing and publishing Simple Object Storage
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
container:
image: gitea.jde.nz/public/cppbuilder:latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build and Test the x86 version of the project
run: |
./testing/test-docker.sh
- name: Build cross-platform versions (amd64 and arm64)
run: |
./build.sh all
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: gitea.jde.nz
username: anything
password: ${{ secrets.PRIVATE_TOKEN }}
- name: Build and Push amd64 + arm64 Docker image to the registry
run: |
./.runner/publish.sh