config: Add 6 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 12s
Build-Test-Publish / build (linux/arm64) (push) Successful in 13s

This commit is contained in:
Your Name
2025-09-02 20:14:10 +12:00
parent 23b3752322
commit dac2d08aef
3 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
name: Build-Test-Publish
run-name: Build test and publish all tools
on: [push]
defaults:
run:
shell: bash
jobs:
build:
strategy:
matrix:
platform:
- linux/amd64
- linux/arm64
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea
uses: docker/login-action@v3
with:
registry: gitea.jde.nz
username: DoesntMatter
password: ${{ secrets.DOCKER_PUSH_TOKEN }}
- name: Test
run: |
./test.sh
- name: Publish
run: |
SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} \
RELEASE_WRITE_TOKEN=${{ secrets.RELEASE_WRITE_TOKEN }} \
GITEA_CONTAINER_NAME=${{ env.JOB_CONTAINER_NAME }} \
./publish.sh