fix(deploy): repair CLI container build and test actual OCI startup

This commit is contained in:
Pavlo Ratushnyi
2026-10-04 20:26:03 +02:00
parent ef5f488555
commit ce664e618a
5 changed files with 106 additions and 2 deletions
+14 -1
View File
@@ -167,9 +167,22 @@ jobs:
name: strata-next-linux-x86_64-musl
path: dist/
linux-cli-container:
needs: verify
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Build actual CLI-only scratch image
run: docker build --file deploy/Dockerfile.static-cli --tag strata-cli-check .
- name: Check isolated CLI container startup and shutdown
run: python3 scripts/smoke-cli-container.py strata-cli-check
- name: Remove test image
if: always()
run: docker image rm strata-cli-check || true
release-cli:
if: startsWith(github.ref, 'refs/tags/v')
needs: linux-static-cli
needs: [linux-static-cli, linux-cli-container]
runs-on: ubuntu-24.04
permissions:
contents: write