diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0f9615a..9e72871 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,7 @@ jobs: persist-credentials: false - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 with: go-version: '1.22' @@ -39,7 +39,7 @@ jobs: - name: Install Go ${{ matrix.go }} if: matrix.go != 'tip' - uses: actions/setup-go@v5 + uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 with: go-version: ${{ matrix.go }} @@ -57,7 +57,7 @@ jobs: - name: Install Go stable if: matrix.go == 'tip' - uses: actions/setup-go@v5 + uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 with: go-version: 1.x diff --git a/.github/workflows/gotip_cron_test.yml b/.github/workflows/gotip_cron_test.yml index e4894a3..eeec12c 100644 --- a/.github/workflows/gotip_cron_test.yml +++ b/.github/workflows/gotip_cron_test.yml @@ -17,7 +17,7 @@ jobs: with: persist-credentials: false - name: Install Go stable - uses: actions/setup-go@v5 + uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 with: go-version: 1.x - name: Install Go tip diff --git a/example/http/Dockerfile b/example/http/Dockerfile index 7d54601..7f955bb 100644 --- a/example/http/Dockerfile +++ b/example/http/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.5 +FROM golang:1.21.5@sha256:672a2286da3ee7a854c3e0a56e0838918d0dbb1c18652992930293312de898a6 WORKDIR /go/src/app diff --git a/example/http/docker-compose.yml b/example/http/docker-compose.yml index 0acd4aa..547d5d8 100644 --- a/example/http/docker-compose.yml +++ b/example/http/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.9' services: pyroscope: - image: 'grafana/pyroscope:latest' + image: 'grafana/pyroscope:latest@sha256:58e49fa3443195c7b95f5c9821ce8920a8627f215c2ccdf955a9cd78c76a3468' ports: - '4040:4040'