Skip to content

Commit 81139ce

Browse files
joanagmaiaclaude
andcommitted
chore: update pvtr plugin to v0.24.0+2fixes
Bumps pvtr-github-repo-scanner from v0.23.2 (c7bd9538) to commit c1095c95, which is post-v0.24.0 and includes two required fixes: - fix(OSPS-BR-07.01): consult Security Insights when security_and_analysis is null - fix(OSPS-LE-02.01): pass deprecated but OSI/FSF-approved SPDX IDs Also updates the plugin build stage to golang:1.26.4-alpine3.22, required by go.mod at the new commit (go 1.26.4). Privateer binary stays at 0.21.2, confirmed compatible by pvtr's own Dockerfile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
1 parent 658f21d commit 81139ce

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/services/docker/Dockerfile.security_best_practices_worker

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PVTR_VERSION=v0.23.2
1+
ARG PVTR_VERSION=v0.24.0
22

33
FROM alpine:3.21 AS core
44
RUN apk add --no-cache wget tar unzip
@@ -10,13 +10,13 @@ ARG PLATFORM=Linux_x86_64
1010
RUN wget https://github.com/privateerproj/privateer/releases/download/v${VERSION}/privateer_${PLATFORM}.tar.gz
1111
RUN tar -xzf privateer_${PLATFORM}.tar.gz
1212

13-
FROM golang:1.26.3-alpine3.23 AS plugin
13+
FROM golang:1.26.4-alpine3.22 AS plugin
1414
RUN apk add --no-cache make git
1515
WORKDIR /plugin
16-
ARG PVTR_COMMIT=c7bd9538d64f7eaab94a05c9b5fd05458a387b1c
16+
ARG PVTR_COMMIT=c1095c95a1b399ec63e4f4e2b7880b0ef55e604f
1717
ARG PVTR_VERSION
1818
# To run the latest version of the plugin, we need to use the latest commit of the pvtr-github-repo-scanner repository.
19-
# Currently using v0.23.2: https://github.com/ossf/pvtr-github-repo-scanner/commit/c7bd9538d64f7eaab94a05c9b5fd05458a387b1c
19+
# Currently using v0.24.0+2fixes: https://github.com/ossf/pvtr-github-repo-scanner/commit/c1095c95a1b399ec63e4f4e2b7880b0ef55e604f
2020
RUN git clone https://github.com/ossf/pvtr-github-repo-scanner.git && cd pvtr-github-repo-scanner && git checkout ${PVTR_COMMIT}
2121
RUN cd pvtr-github-repo-scanner && make binary && cp github-repo ../github-repo
2222

0 commit comments

Comments
 (0)