Skip to content

Commit

Permalink
Update release-alpine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani committed Jun 28, 2024
1 parent 91ebfe6 commit a6d2773
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:

env:
REGISTRY: ghcr.io

CROSS_SYSROOT: /mnt/alpine

jobs:

build:
Expand Down Expand Up @@ -40,7 +41,14 @@ jobs:
shell: alpine.sh {0}

- name: Build
run: CGO_ENABLED=1 GOOS=linux go build -a --ldflags '-linkmode external -extldflags "-static -s -w"' -o ${{ steps.alpine-root.outputs.root-path }}/heplify .
run: CGO_ENABLED=1 GOOS=linux go build -a --ldflags '-linkmode external -extldflags "-static -s -w"' -o heplify .
shell: alpine.sh {0}

- name: Try to run the binary
run: ./heplify -h
shell: alpine.sh {0}

- run: ls -alF ${{ steps.alpine-root.outputs.root-path }}/heplify
- run: |
pwd
ls -alF
ls -alF ${{ steps.alpine-root.outputs.root-path }}/heplify

0 comments on commit a6d2773

Please sign in to comment.