mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -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: |
|
||||
|
||||
7
.github/workflows/test-build.yml
vendored
7
.github/workflows/test-build.yml
vendored
@@ -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