Skip to content

Merge pull request #30 from torus-economy/fix-docker-build #36

Merge pull request #30 from torus-economy/fix-docker-build

Merge pull request #30 from torus-economy/fix-docker-build #36

Workflow file for this run

name: TORUSd Docker CI
on:
push:
branches:
- master
permissions:
contents: read
packages: write
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/386,linux/arm/v7
push: true
target: torusd-unix
tags: ghcr.io/torus-economy/torusd:latest
file: Dockerfile