Skip to content

Fixed resubscribing after reconnecting #116

Fixed resubscribing after reconnecting

Fixed resubscribing after reconnecting #116

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
binary: [alisa, elisa, elizabeth, isabel]
steps:
- uses: actions/checkout@v4
- name: Log into registry
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Test
run: |
IMAGE_ID=ghcr.io/chipp/${{ matrix.binary }}
docker buildx build . --file bin/${{ matrix.binary }}/test.Dockerfile \
--load \
--tag $IMAGE_ID:latest \
--cache-from=type=registry,ref=$IMAGE_ID:test-cache \
--cache-to=type=registry,ref=$IMAGE_ID:test-cache,mode=max
docker buildx build . --file bin/${{ matrix.binary }}/Dockerfile \
--load \
--tag $IMAGE_ID:latest \
--cache-from=type=registry,ref=$IMAGE_ID:cache \
--cache-to=type=registry,ref=$IMAGE_ID:cache,mode=max