Skip to content

Commit 7a627d1

Browse files
authored
Merge pull request #107 from jacomago/fix-docker
Fix docker upload
2 parents 7e2d11c + 354d3b7 commit 7a627d1

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
REGISTRY: ghcr.io
13-
IMAGE_NAME: recceiver
13+
IMAGE_NAME: ${{ github.repository }}/recceiver
1414

1515
jobs:
1616
build-and-push-image:
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
defaults:
2222
run:
23-
working-directory: server
23+
working-directory: ./server
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Log in to the Container registry
@@ -39,7 +39,7 @@ jobs:
3939
- name: Build and push Docker image
4040
uses: docker/build-push-action@v5
4141
with:
42-
context: .
42+
context: ./server
4343
push: true
4444
platforms: linux/amd64,linux/arm64
4545
tags: ${{ steps.meta.outputs.tags }}

server/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Application for talking between IOCs (via [reccaster](../client)) and ChannelFin
44

55
Written using [twistd](https://twisted.org/).
66

7+
## Docker
8+
9+
There is an example docker compose script which runs recceiver and channelfinder together.
10+
11+
```bash
12+
docker compose up
13+
```
14+
715
## Formatting and Linting
816

917
Recceiver uses [ruff](https://docs.astral.sh/ruff/) for formatting and linting. See website for installation instructions.

0 commit comments

Comments
 (0)