Skip to content

build using custom docker image #3

build using custom docker image

build using custom docker image #3

Workflow file for this run

name: Create a new release
on:
push:
branches:
- fix/static_build
jobs:
test-release:
name: Build for Linux
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@main
- name: Build-musl
run: |
echo "Building static binaries using ekidd/rust-musl-builder"
docker build -t fastn-build-image .
docker run -it --name fastn-build fastn-build-image
mkdir -p out
docker cp fastn-build:/home/rust/src/target/x86_64-unknown-linux-musl/release/fastn out/
- name: ls files
run: |
ls target/
ls out/
file out/fastn