Skip to content

Merge pull request #6 from spacelift-io/feat/add_run_controller_tests #12

Merge pull request #6 from spacelift-io/feat/add_run_controller_tests

Merge pull request #6 from spacelift-io/feat/add_run_controller_tests #12

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup go
uses: ./.github/actions/setup-go/
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build controller binary
uses: goreleaser/goreleaser-action@v5
with:
args: build --snapshot
- name: Build container image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: false