dropshell-build/.gitea/workflows/dropshell-build.yaml
Your Name a075d45ed3
Some checks failed
dropshell-build / build (linux/arm64) (push) Has been cancelled
dropshell-build / build (linux/amd64) (push) Has been cancelled
'Generic Commit'
2025-06-15 08:59:00 +12:00

42 lines
986 B
YAML

name: dropshell-build
run-name: Build test and publish dropshell-build
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: Build Base
run: |
cd build-base && ./build.sh
- name: Build Test Applications
run: |
cd tests && ./build.sh
- name: Run Tests
run: |
cd tests && ./test.sh
- name: Publish as Latest
run: |
cd build-base && \
SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} \
DOCKER_PUSH_TOKEN=${{ secrets.DOCKER_PUSH_TOKEN }} \
./publish.sh