Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -730,8 +730,8 @@
-e GOMODCACHE=/go/pkg/mod \
-v /tmp/build-dashboard.sh:/tmp/build-dashboard.sh \
-w /go/src/github.com/TykTechnologies/tyk-analytics \
tykio/golang-cross:1.24-bookworm /tmp/build-dashboard.sh
tykio/golang-cross:1.25-bullseye /tmp/build-dashboard.sh

Check warning on line 734 in .github/workflows/release.yml

View check run for this annotation

probelabs / Visor: security

security Issue

The Docker image `tykio/golang-cross:1.25-bullseye` is referenced using a mutable tag. This practice can lead to non-reproducible builds and creates a supply chain risk. If the tag is ever updated, intentionally or maliciously, the build pipeline could pull a different image than intended, potentially introducing vulnerabilities or breaking changes into the release process.
Raw output
Pin the Docker image to its immutable content digest (SHA256 hash) to ensure the exact same image is used for every build. You can retrieve the digest after pulling the image with `docker inspect tykio/golang-cross:1.25-bullseye` and then update the workflow to use the format `tykio/golang-cross:1.25-bullseye@sha256:<digest-hash>`.
echo "✅ Packages built successfully for $GOARCH"
- name: Detect platform for Docker build
id: platform
Expand Down
Loading