dropshell-build/.gitea/workflows/dropshell-build.yaml
Your Name 1ac00e83f8
Some checks failed
dropshell-build / build (push) Has been cancelled
'Generic Commit'
2025-06-14 22:07:46 +12:00

37 lines
908 B
YAML

name: dropshell-build
run-name: Build test and publish dropshell-build
on: [push]
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
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 - Multiple Architectures
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