diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2530df..a5a1366 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: build on: pull_request: - branches: [main] + branches: [ main ] push: - branches: [main] + branches: [ main ] permissions: contents: read diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index d9c1671..087029f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -11,7 +11,7 @@ name: Publish Docker image on: release: - types: [published] + types: [ published ] jobs: push_to_registries: @@ -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}} diff --git a/.github/workflows/docker-schedule.yml b/.github/workflows/docker-schedule.yml index d5044bb..bb4bb84 100644 --- a/.github/workflows/docker-schedule.yml +++ b/.github/workflows/docker-schedule.yml @@ -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: diff --git a/README.md b/README.md index e7d7344..077c017 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 ``` \ No newline at end of file