mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-05 15:07:24 +02:00
1 parent
0c45cc1e12
commit
0f09205814
2 files changed
+8
-6
No files matched your search
@@ -46,10 +46,11 @@ jobs:
|
||||
sudo docker run --rm \
|
||||
-v "$(pwd)":/app \
|
||||
-w /app/backend \
|
||||
-e CGO_ENABLED=1 \
|
||||
golang:alpine \
|
||||
go build -trimpath \
|
||||
-ldflags="-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}" \
|
||||
-tags production -o ../build/phishingclub main.go
|
||||
sh -c "apk add --no-cache gcc musl-dev && go build -trimpath \
|
||||
-ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \
|
||||
-tags production -o ../build/phishingclub main.go"
|
||||
|
||||
- name: Fix build directory permissions
|
||||
run: |
|
||||
|
||||
@@ -44,10 +44,11 @@ jobs:
|
||||
sudo docker run --rm \
|
||||
-v "$(pwd)":/app \
|
||||
-w /app/backend \
|
||||
-e CGO_ENABLED=1 \
|
||||
golang:alpine \
|
||||
go build -trimpath \
|
||||
-ldflags="-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}" \
|
||||
-tags production -o ../build/phishingclub main.go
|
||||
sh -c "apk add --no-cache gcc musl-dev && go build -trimpath \
|
||||
-ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \
|
||||
-tags production -o ../build/phishingclub main.go"
|
||||
|
||||
- name: Fix build directory permissions
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user