fix(deploy): repair CLI container build and test actual OCI startup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user