diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 255de8b8..a16428e4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -10,7 +10,7 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: recceiver + IMAGE_NAME: ${{ github.repository }}/recceiver jobs: build-and-push-image: @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: server + working-directory: ./server steps: - uses: actions/checkout@v4 - name: Log in to the Container registry @@ -39,7 +39,7 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v5 with: - context: . + context: ./server push: true platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} diff --git a/server/README.md b/server/README.md index d513055b..239c3e0a 100644 --- a/server/README.md +++ b/server/README.md @@ -4,6 +4,14 @@ Application for talking between IOCs (via [reccaster](../client)) and ChannelFin Written using [twistd](https://twisted.org/). +## Docker + +There is an example docker compose script which runs recceiver and channelfinder together. + +```bash +docker compose up +``` + ## Formatting and Linting Recceiver uses [ruff](https://docs.astral.sh/ruff/) for formatting and linting. See website for installation instructions.