Skip to content

Update release-alpine.yml #14

Update release-alpine.yml

Update release-alpine.yml #14

Workflow file for this run

name: Go CI/CD
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.21
- name: Libraries
run: sudo apt-get install -y libpcap-dev libluajit-5.1-dev
- name: LuaJIT
run: git clone https://luajit.org/git/luajit-2.0.git && cd luajit-2.0 && git checkout v2.1 && make CCOPT="-static -fPIC" BUILDMODE="static" && sudo make install
- name: Build
run: go build -ldflags "-s -w" -o heplify *.go