pin version

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-05-28 15:25:57 +02:00
parent 25b238d8e6
commit ec4341ed68
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ jobs:
sudo docker run --rm \
-v "$(pwd)":/app \
-w /app \
node:alpine \
node:22-alpine \
sh -c "npm ci && npm run build-production"
- name: Move frontend build to backend
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
sudo docker run --rm \
-v "$(pwd)":/app \
-w /app \
node:alpine \
node:22-alpine \
sh -c "npm ci && npm run build-production"
- name: Move frontend build to backend
+2 -2
View File
@@ -7,7 +7,7 @@ mkdir -p phishingclub/frontend/frontend/build
sudo docker run --rm \
-v "$(pwd)":/app \
-w /app/phishingclub/frontend \
node:alpine \
node:22-alpine \
sh -c "npm ci && npm run build-production"
# Get current user and group IDs
@@ -26,7 +26,7 @@ echo "building..."
sudo docker run --rm \
-v "$(pwd)":/app \
-w /app/phishingclub/frontend \
golang:alpine \
golang:1.25.10-alpine \
go build -trimpath \
-ldflags="-X github.com/phishingclub/phishingclub/version.hash=ph$HASH" \
-tags production -o ../build/phishingclub main.go
+2 -2
View File
@@ -34,7 +34,7 @@ mkdir -p phishingclub/frontend/frontend/build
sudo docker run --rm \
-v "$(pwd)":/app \
-w /app/phishingclub/frontend \
node:alpine \
node:22-alpine \
sh -c "npm ci && npm run build-production"
# Get current user and group IDs
@@ -49,7 +49,7 @@ echo "Building application..."
sudo docker run --rm \
-v "$(pwd)":/app \
-w /app/phishingclub/frontend \
golang:alpine \
golang:1.25.10-alpine \
go build -trimpath \
-ldflags="-X github.com/phishingclub/phishingclub/version.hash=ph$GIT_HASH" \
-tags production -o ../build/phishingclub_${VERSION} main.go