spectrum-finance / ergo-dex-backend

Spectrum Finance backend services including AMM bots and OrderBook matcher
Creative Commons Zero v1.0 Universal
38 stars 17 forks source link

Improved docker setup #79

Closed Alesfatalis closed 1 year ago

Alesfatalis commented 1 year ago

Discussed with @GusevTimofey a new improved docker setup to reduce setup issues user have especially under Windows environments.

This pull request adds an GitHub Action to build and release docker images for the off-chain bots on Docker Hub so users don't have to build the images themself and can pull/update directly from Docker Hub. For this to work you have to configure Docker Hub credentials in the repository secrets. The action expects these secrets:

${{ secrets.DOCKER_USERNAME }}
${{ secrets.DOCKER_PASSWORD }}

Also the current configuration is set to publish the images under the Docker Hub Username: spectrum-finance if this doesn't exist you would need to create it or if an account already exists than you have to change the tags in .github/workflows/publish-docker-images.yml accordingly.