'Generic Commit'
All checks were successful
Build-Test-Publish / build (push) Successful in 33s

This commit is contained in:
Your Name
2025-06-14 11:34:02 +12:00
parent 47ce8407a1
commit 9fb018f162
11 changed files with 341 additions and 176 deletions

View File

@@ -1,27 +1,30 @@
name: Build-Test-Publish
run-name: ${{ gitea.actor }} is building, testing and publishing Simple Object Storage
run-name: Build test and publish dropshell-build
on: [push]
defaults:
run:
shell: bash
jobs:
Build:
build:
runs-on: ubuntu-latest
container:
image: gitea.jde.nz/public/dropshell-build:latest
steps:
- name: Check out repository code
- name: Checkout
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
- name: Login to Gitea
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
username: DoesntMatter
password: ${{ secrets.DOCKER_PUSH_TOKEN }}
- name: Build
run: |
./.runner/publish.sh
./build.sh
- name: Test
run: |
./test.sh
- name: Publish
run: |
SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} ./publish.sh