Skip to content

Commit

Permalink
chore: add GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrynhard committed Oct 29, 2023
1 parent fbcc940 commit 0077d6b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ci

on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.13.1'
-
name: Build
run: make build

-
name: Login to ghcr.io
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
-
name: Push container
run: docker push ghcr.io/siderolabs/kube-scheduler:latest

0 comments on commit 0077d6b

Please sign in to comment.