Support all bob log types (0-13, 255) and remove subscription filtering #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy bob-events-bridge prod images to GHCR | |
| on: | |
| push: | |
| branches: | |
| - 17-bridge-address-bob-wslogs-removed-endpoint | |
| paths: | |
| - 'bob-events-bridge/**' | |
| jobs: | |
| docker-publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Log in to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Extract module and version from tag | |
| id: extract | |
| run: | | |
| TAG=${GITHUB_REF#refs/tags/} | |
| MODULE_NAME=$(echo "$TAG" | cut -d/ -f1) | |
| VERSION=$(echo "$TAG" | cut -d/ -f2) | |
| echo "module=$MODULE_NAME" >> $GITHUB_OUTPUT | |
| echo "version=$VERSION" >> $GITHUB_OUTPUT | |
| - name: Build and push Docker image | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: ./bob-events-bridge | |
| file: ./bob-events-bridge/Dockerfile | |
| push: true | |
| tags: ghcr.io/qubic/bob-events-bridge:dev |