From a2dc246088bfa6726ecfd8e35579ae5f522a6659 Mon Sep 17 00:00:00 2001 From: Ronni Skansing Date: Thu, 4 Jun 2026 09:25:53 +0200 Subject: [PATCH] fix pinned images hashes Signed-off-by: Ronni Skansing --- .github/workflows/release.yml | 6 +++--- .github/workflows/test-build.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7dee27..73393f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: sudo docker run --rm \ -v "$(pwd)":/app \ -w /app \ - node:22-alpine@sha256:968df39aedcea65eeb078fb336ed7191baf48f972b4479711397108be0966920 \ + node@sha256:968df39aedcea65eeb078fb336ed7191baf48f972b4479711397108be0966920 `# node:22-alpine` \ sh -c "npm ci && npm run build-production" - name: Move frontend build to backend @@ -70,7 +70,7 @@ jobs: -v "$(pwd)":/app \ -v /tmp/go-build-cache:/root/.cache/go-build \ -w /app/backend \ - golang:1.25.10-alpine@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 \ + golang@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 `# golang:1.25.10-alpine` \ 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 }} -linkmode=external -extldflags=-static' \ -tags production -o ../build/amd64/phishingclub main.go" @@ -81,7 +81,7 @@ jobs: -v "$(pwd)":/app \ -v /tmp/go-build-cache:/root/.cache/go-build \ -w /app/backend \ - golang:1.25.10-alpine@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 \ + golang@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 `# golang:1.25.10-alpine` \ 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 }} -linkmode=external -extldflags=-static' \ -tags production -o ../build/arm64/phishingclub main.go" diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index e6ad0d9..93a599e 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -43,7 +43,7 @@ jobs: sudo docker run --rm \ -v "$(pwd)":/app \ -w /app \ - node:22-alpine@sha256:968df39aedcea65eeb078fb336ed7191baf48f972b4479711397108be0966920 \ + node@sha256:968df39aedcea65eeb078fb336ed7191baf48f972b4479711397108be0966920 `# node:22-alpine` \ sh -c "npm ci && npm run build-production" - name: Move frontend build to backend @@ -68,7 +68,7 @@ jobs: -v "$(pwd)":/app \ -v /tmp/go-build-cache:/root/.cache/go-build \ -w /app/backend \ - golang:1.25.10-alpine@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 \ + golang@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 `# golang:1.25.10-alpine` \ 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 }} -linkmode=external -extldflags=-static' \ -tags production -o ../build/amd64/phishingclub main.go" @@ -79,7 +79,7 @@ jobs: -v "$(pwd)":/app \ -v /tmp/go-build-cache:/root/.cache/go-build \ -w /app/backend \ - golang:1.25.10-alpine@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 \ + golang@sha256:8d22e29d960bc50cd025d93d5b7c7d220b1ee9aa7a239b3c8f55a57e987e8d45 `# golang:1.25.10-alpine` \ 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 }} -linkmode=external -extldflags=-static' \ -tags production -o ../build/arm64/phishingclub main.go"