Add image to CI, and update startCodex.sh

This commit is contained in:
Eric Mastro 2023-04-28 16:03:59 +10:00 committed by benbierens
parent 031427a94d
commit 60d7224bf7
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
2 changed files with 13 additions and 1 deletions

View File

@ -123,3 +123,15 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# Slim it!
- name: Minify docker image
uses: kitabisa/docker-slim-action@v1
env:
DSLIM_HTTP_PROBE: false
with:
target: ${{ steps.meta.outputs.labels }}
tag: ${{ steps.meta.outputs.tags }}
# Push to the docker registry
- name: Push image to docker registry
run: docker image push "${{ steps.meta.outputs.labels }}:${{ steps.meta.outputs.tags }}"
if: github.event_name != 'pull_request'

View File

@ -61,4 +61,4 @@ slim # brings up interactive prompt
>>> build --target status-im/codexsetup --http-probe-off true
```
3. This should output an image with name `status-im/codexsetup.slim`
4. We can then bring up the image using `docker-compose up -d`.
4. We can then bring up the image using `docker-compose up -d`.