Skip to content

feat: add Lisa-backed StarIntel expert shell #603

feat: add Lisa-backed StarIntel expert shell

feat: add Lisa-backed StarIntel expert shell #603

Workflow file for this run

name: Container Stack
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
packages: write
jobs:
stack:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Run image, health, authentication, FTS, and persistence tests
run: ./scripts/stack-test.sh
- name: Upload sanitized stack diagnostics
if: always()
uses: actions/upload-artifact@v4
with:
name: stack-test-diagnostics
path: stack-test-artifacts/
if-no-files-found: error
retention-days: 7
- name: Publish images
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
owner="${GITHUB_REPOSITORY_OWNER,,}"
short_sha="${GITHUB_SHA::12}"
echo "$GHCR_TOKEN" |
docker login ghcr.io --username "$GITHUB_ACTOR" --password-stdin
docker tag starintel/server:0.1.0 \
"ghcr.io/${owner}/starintel-server:0.1.0"
docker tag starintel/server:0.1.0 \
"ghcr.io/${owner}/starintel-server:sha-${short_sha}"
docker tag starintel/couchdb:3.5.2 \
"ghcr.io/${owner}/starintel-couchdb:3.5.2"
docker tag starintel/clouseau:3.3.0 \
"ghcr.io/${owner}/starintel-clouseau:3.3.0"
docker push "ghcr.io/${owner}/starintel-server:0.1.0"
docker push "ghcr.io/${owner}/starintel-server:sha-${short_sha}"
docker push "ghcr.io/${owner}/starintel-couchdb:3.5.2"
docker push "ghcr.io/${owner}/starintel-clouseau:3.3.0"