getpkg/.gitea/workflows/dropshell-build.yaml
Your Name 595d97efed
Some checks failed
dropshell-build / build (push) Failing after 1m28s
'Generic Commit'
2025-06-01 10:12:02 +12:00

40 lines
1.1 KiB
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
run: |
./dropshell-build/build.sh
- name: Debug Docker Environment
run: |
echo "PWD: $(pwd)"
echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE:-not set}"
echo "Runner workspace: ${{ github.workspace }}"
echo "Docker info:"
docker info | grep -E "(Docker Root Dir|Storage Driver)" || true
echo "Mount info:"
mount | grep -E "(overlay|workspace)" || true
- name: Test
run: |
HOST_WORKSPACE_PATH="${{ github.workspace }}" ./dropshell-build/test.sh
- name: Publish
run: |
SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} ./dropshell-build/publish.sh