Skip to content

Commit

Permalink
feat(ci): don't hardcode image name
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto committed Mar 25, 2024
1 parent 57d7cf5 commit 1af710d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
damonto/estkme-rlpa-server
ghcr.io/damonto/estkme-rlpa-server
${{ github.repository_owner }}/estkme-rlpa-server
ghcr.io/${{ github.repository_owner }}/estkme-rlpa-server
tags: |
type=schedule
type=ref,event=branch
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ systemctl start estkme-rlpa-server
systemctl enable estkme-rlpa-server
```

#### Docker

You can also run the server using Docker. You can use the following command to run the server:

```bash
docker run -d --name estkme-rlpa-server -p 1888:1888 damonto/estkme-rlpa-server:latest
# or use the GitHub Container Registry
docker run -d --name estkme-rlpa-server -p 1888:1888 -v ghcr.io/damonto/estkme-rlpa-server:latest
```

### Usage

Once the server is running, the server will listen on the specified port (default: 1888) and you can send requests to the server.
Expand Down

0 comments on commit 1af710d

Please sign in to comment.