Skip to content

Update Dockerfile (#15) #39

Update Dockerfile (#15)

Update Dockerfile (#15) #39

Workflow file for this run

name: Build Rollappd
on: ["push"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
targetos: [darwin, linux]
go-version: ['1.21.x']
include:
- targetos: darwin
arch: arm64
name: rollapp ${{ matrix.arch }} for ${{ matrix.targetos }}
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
go-version: ${{ matrix.go-version }}
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- name: Compile rollappd
run: |
go mod download
cd rollappd
go build .
- uses: actions/upload-artifact@v3
with:
name: rollappd ${{ matrix.targetos }} ${{ matrix.arch }}
path: rollappd/rollappd