Skip to content

Add docker.nix

Add docker.nix #6

Workflow file for this run

name: Static executable
on:
push:
branches:
- "**"
tags:
- "*.*.*"
jobs:
build-executables:
name: "Build static executables"
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: ❄ Prepare nix
uses: cachix/install-nix-action@v23
with:
extra_nix_config: |
accept-flake-config = true
log-lines = 1000
- name: ❄ Build static executables
run: |
mkdir -p bin/
nix build .#easy-rider-static && cp result/bin/* bin/
- name: 💾 Upload executables
uses: actions/upload-artifact@v3
with:
name: hydra-x86_64-unknown-linux-musl
path: |
./bin