21
.github/workflows/make.yaml
vendored
21
.github/workflows/make.yaml
vendored
@@ -8,13 +8,28 @@ on:
|
||||
- "main"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "build"
|
||||
docker-build:
|
||||
name: "docker-build"
|
||||
runs-on: "ubuntu-22:04"
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- uses: "docker/setup-qemu-action@v2"
|
||||
- uses: "docker/setup-buildx-action@v2"
|
||||
- uses: "docker/login-action@v2"
|
||||
with:
|
||||
registry: "ghcr.io"
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: "make docker-build"
|
||||
env:
|
||||
DOCKER_BUILD_FLAGS: "--platform linux/amd64,linux/arm64 --push"
|
||||
bin/probod:
|
||||
name: "bin/probod"
|
||||
runs-on: "ubuntu-22.04"
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- uses: "actions/setup-node@v4"
|
||||
- run: "make build"
|
||||
- run: "make bin/probod"
|
||||
fmt-check:
|
||||
name: "fmt-check"
|
||||
runs-on: "ubuntu-22.04"
|
||||
|
||||
Reference in New Issue
Block a user