Skip to content

Commit

Permalink
Format cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Aug 6, 2024
1 parent 9ceb1f8 commit 31302b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: build

on:
pull_request:
branches: [main]
branches: [ main ]
push:
branches: [main]
branches: [ main ]

permissions:
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name: Publish Docker image

on:
release:
types: [published]
types: [ published ]

jobs:
push_to_registries:
Expand All @@ -29,19 +29,19 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: |
images: |
ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
name: Daily Docker image build to include security updates

on:
# schedule:
# - cron: '0 0 * * *'
# schedule:
# - cron: '0 0 * * *'
workflow_dispatch:

jobs:
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This project contains a simple Docker image and associated golang tooling to
run a Voi node.

## Node types currently supported

- Relay node
- Archiver node

Expand All @@ -27,6 +28,7 @@ docker run -e VOINETWORK_INCOMING_CONNECTIONS_LIMIT=30 ghcr.io/voinetwork/voi-no
```

### Running with a pre-defined network

To run a Voi node with a pre-defined network, you can use the following command:

```bash
Expand All @@ -39,15 +41,16 @@ docker run -e VOINETWORK_NETWORK=testnet ghcr.io/voinetwork/voi-node:latest
docker run -e VOINETWORK_NETWORK=custom_name -e VOINETWORK_GENESIS=custom_url ghcr.io/voinetwork/voi-node:latest
```


### Running with a specific profile

#### Relay node

```bash
docker run -e VOINETWORK_NETWORK=custom_name -e VOINETWORK_GENESIS=custom_url -e VOINETWORK_PROFILE=relay ghcr.io/voinetwork/voi-node:latest
```

#### Archiver node

```bash
docker run -e VOINETWORK_NETWORK=custom_name -e VOINETWORK_GENESIS=custom_url -e VOINETWORK_PROFILE=archiver ghcr.io/voinetwork/voi-node:latest
```

0 comments on commit 31302b9

Please sign in to comment.