Skip to content

Commit 221d1c4

Browse files
Merge branch 'main' into feat/gh-app-token
2 parents a1e5b1c + e783516 commit 221d1c4

File tree

7 files changed

+27
-16
lines changed

7 files changed

+27
-16
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
submodules: recursive
2121

2222
- name: Set up Go
23-
uses: actions/setup-go@v5
23+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
2424
with:
2525
go-version-file: go.mod
2626

.github/workflows/publish.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
2727

2828
- name: Checkout code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3030
with:
3131
token: ${{ steps.app-token.outputs.token }}
3232
fetch-tags: true
@@ -57,28 +57,28 @@ jobs:
5757
exit 0
5858
5959
- name: Set up QEMU
60-
uses: docker/setup-qemu-action@v3
60+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
6161

6262
- name: Set up Docker Context for Buildx
6363
id: buildx-context
6464
run: |
6565
docker context create builders
6666
6767
- name: Login to GitHub Container Registry
68-
uses: docker/login-action@v3
68+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
6969
with:
7070
registry: ghcr.io
7171
username: ${{ github.actor }}
7272
password: ${{ secrets.GITHUB_TOKEN }}
7373

7474
- name: Set up Docker Buildx
7575
timeout-minutes: 5
76-
uses: docker/setup-buildx-action@v3
76+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
7777
with:
7878
version: latest
7979

8080
- name: Set up Go
81-
uses: actions/setup-go@v5
81+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
8282
with:
8383
go-version-file: go.mod
8484

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
2424

2525
- name: Checkout code
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2727
with:
2828
token: ${{ steps.app-token.outputs.token }}
2929
fetch-tags: true
@@ -97,7 +97,7 @@ jobs:
9797
9898
- name: Build Changelog
9999
id: github_release
100-
uses: mikepenz/release-changelog-builder-action@v5
100+
uses: mikepenz/release-changelog-builder-action@e92187bd633e680ebfdd15961a7c30b2d097e7ad # v5
101101
with:
102102
mode: "PR"
103103
configurationJson: |
@@ -131,7 +131,7 @@ jobs:
131131

132132
- name: Create GitHub release
133133
if: ${{ env.SKIP != 'true' }}
134-
uses: softprops/action-gh-release@v2
134+
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2
135135
with:
136136
tag_name: ${{ env.version }}
137137
name: Release ${{ env.version }}

.github/workflows/reuse.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1010
- name: REUSE Compliance Check
11-
uses: fsfe/reuse-action@v5
11+
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM docker.io/golang:1.23 AS builder
2+
FROM docker.io/golang:1.23@sha256:45c8837b16499b4e0e52b62d4cfba7bf04fc651b7d9265f95010fe0beaec2626 AS builder
33
ARG TARGETOS
44
ARG TARGETARCH
55

@@ -24,7 +24,7 @@ COPY pkg/ pkg/
2424
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
2525
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go
2626

27-
FROM alpine:3.21.3
27+
FROM alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c
2828
RUN apk add --no-cache docker-cli kind
2929
WORKDIR /
3030
COPY --from=builder /workspace/manager .

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
v0.0.1

renovate.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"git-submodules": {
4+
"enabled": true
5+
},
6+
"minimumReleaseAge": "3 days",
37
"extends": [
4-
"config:recommended"
8+
"config:recommended",
9+
"config:best-practices",
10+
"security:openssf-scorecard",
11+
"helpers:pinGitHubActionDigests",
12+
":rebaseStalePrs"
13+
],
14+
"postUpdateOptions": [
15+
"gomodTidy"
516
]
617
}

0 commit comments

Comments
 (0)