Skip to content

build: Use ko for image building #1068

build: Use ko for image building

build: Use ko for image building #1068

Workflow file for this run

# Copyright 2021-2023 D2iQ, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: build-on-macos
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
jobs:
build-and-run:
runs-on: macos-13
defaults:
run:
shell: bash
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install devbox
uses: jetpack-io/[email protected]
with:
enable-cache: true
env:
NIX_USER_COUNT: 4
- name: Build
run: devbox run -- make SKIP_UPX=false build-snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run binary
run: |
./dist/mindthegap_darwin_amd64_v1/mindthegap