Skip to content

Commit 9464a35

Browse files
authored
Merge pull request #25 from jkoelker/renovate/pin-dependencies
chore(deps): pin dependencies
2 parents 3729886 + fe3b0db commit 9464a35

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,30 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1717
- name: Run tests
1818
run: make test
1919

2020
lint:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2525
- name: Run linter
2626
run: make lint
2727

2828
tidy:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3333
- name: Check go mod tidy
3434
run: make tidy-ci
3535

3636
build:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4141
- name: Build binary
4242
run: make docker-build

.github/workflows/container.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121

2222
- name: Log in to Container Registry
23-
uses: docker/login-action@v3
23+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
2424
with:
2525
registry: ghcr.io
2626
username: ${{ github.repository_owner }}
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828

2929
- name: Extract metadata
3030
id: meta
31-
uses: docker/metadata-action@v5
31+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5
3232
with:
3333
images: ghcr.io/jkoelker/schwab-proxy
3434
tags: |
@@ -37,7 +37,7 @@ jobs:
3737
type=semver,pattern={{version}}
3838
3939
- name: Build and push Docker image
40-
uses: docker/build-push-action@v6
40+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
4141
with:
4242
context: .
4343
push: true

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM docker.io/golang:1.24.5-alpine AS builder
2+
FROM docker.io/golang:1.24.5-alpine@sha256:ddf52008bce1be455fe2b22d780b6693259aaf97b16383b6372f4b22dd33ad66 AS builder
33

44
# Set build environment for static linking
55
ENV CGO_ENABLED=0 \
@@ -38,7 +38,7 @@ RUN go build \
3838
./cmd/schwab-proxy
3939

4040
# Runtime stage - distroless for maximum security
41-
FROM gcr.io/distroless/static-debian12:nonroot
41+
FROM gcr.io/distroless/static-debian12:nonroot@sha256:627d6c5a23ad24e6bdff827f16c7b60e0289029b0c79e9f7ccd54ae3279fb45f
4242

4343
LABEL org.opencontainers.image.source=https://github.com/jkoelker/schwab-proxy
4444

Dockerfile.devkit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Get as many dependancies from official docker images to allow
22
# `dependabot` to manage them for us.
3-
FROM docker.io/golangci/golangci-lint:v2.2.2 as golangci-lint
4-
FROM ghcr.io/hadolint/hadolint:2.12.0 as hadolint
5-
FROM docker.io/golang:1.24.5-alpine
3+
FROM docker.io/golangci/golangci-lint:v2.2.2@sha256:0f0e3fad35aa127e2823e79809727709bceb6b899ad17362b92a6148ba40c862 as golangci-lint
4+
FROM ghcr.io/hadolint/hadolint:2.12.0@sha256:30a8fd2e785ab6176eed53f74769e04f125afb2f74a6c52aef7d463583b6d45e as hadolint
5+
FROM docker.io/golang:1.24.5-alpine@sha256:ddf52008bce1be455fe2b22d780b6693259aaf97b16383b6372f4b22dd33ad66
66

77
RUN apk add --no-cache \
88
bash==5.2.37-r0 \

0 commit comments

Comments
 (0)