chore: user-testing validation synthesis for nip46-fix-and-polish mil… #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Umbrel Dev Image | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - dev | |
| workflow_dispatch: | |
| concurrency: | |
| group: umbrel-dev-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build Umbrel image (no push; smoke-test) | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: packages/umbrel/igloo/Dockerfile | |
| push: false | |
| load: true | |
| tags: | | |
| igloo-server-umbrel:dev-ci | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Smoke test Umbrel image | |
| run: | | |
| set -e | |
| cleanup() { | |
| docker rm -f umbrel-dev-test >/dev/null 2>&1 || true | |
| } | |
| trap cleanup EXIT | |
| docker run -d --name umbrel-dev-test -p 8003:8002 \ | |
| -e ADMIN_SECRET=ci-admin-secret \ | |
| -e ALLOWED_ORIGINS=http://localhost:8003 \ | |
| -e TRUST_PROXY=true \ | |
| igloo-server-umbrel:dev-ci | |
| sleep 12 | |
| curl -f http://localhost:8003/api/status |