Skip to content

Commit 319bd6f

Browse files
authored
Merge branch 'SovereignCloudStack:main' into rke2
2 parents 934f1b2 + 35780a2 commit 319bd6f

File tree

14 files changed

+53
-49
lines changed

14 files changed

+53
-49
lines changed

.builder-image-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.2
1+
0.2.3

.github/actions/setup-go/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ runs:
44
using: "composite"
55
steps:
66
- name: Install go
7-
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
7+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
88
with:
99
go-version-file: "go.mod"
1010
cache: true
@@ -15,14 +15,14 @@ runs:
1515
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
1616
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
1717
- name: Go Mod Cache
18-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
18+
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
1919
with:
2020
path: ${{ steps.go-cache-paths.outputs.go-mod }}
2121
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
2222
restore-keys: |
2323
${{ runner.os }}-go-mod-
2424
- name: Go Build Cache
25-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
25+
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
2626
with:
2727
path: ${{ steps.go-cache-paths.outputs.go-build }}
2828
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}

.github/workflows/builder-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1818

1919
- name: Set up Docker Buildx
20-
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3
20+
uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca # v3
2121

2222
- name: Login to Docker Hub
2323
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
@@ -27,9 +27,9 @@ jobs:
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828

2929
- name: Build and push
30-
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6
30+
uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6
3131
with:
3232
file: ./images/builder/Dockerfile
3333
context: ./images/builder
3434
push: true
35-
tags: ghcr.io/sovereigncloudstack/csctl-builder:0.2.2
35+
tags: ghcr.io/sovereigncloudstack/csctl-builder:0.2.3

.github/workflows/pr-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: github.event_name != 'pull_request_target' || !github.event.pull_request.draft
2020
runs-on: ubuntu-latest
2121
container:
22-
image: ghcr.io/sovereigncloudstack/csctl-builder:0.2.2
22+
image: ghcr.io/sovereigncloudstack/csctl-builder:0.2.3
2323
credentials:
2424
username: ${{ github.actor }}
2525
password: ${{ secrets.github_token }}

.github/workflows/pr-verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
- name: Verify Shellcheck
2727
run: make verify-shellcheck
2828

29-
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
29+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
3030
with:
31-
node-version: "18"
31+
node-version: "22"
3232
- name: Install renovate
3333
run: npm i -g renovate@35.54.0 # TODO update this via renovatebot
3434

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- run: git fetch --force --tags
20-
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
20+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
2121
with:
2222
go-version: stable
2323

24-
- uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6
24+
- uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6
2525
with:
2626
distribution: goreleaser
2727
version: latest

.github/workflows/schedule-link-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
private_key: ${{ secrets.SCS_APP_PRIVATE_KEY }}
2222

2323
- name: Link Checker
24-
uses: lycheeverse/lychee-action@f81112d0d2814ded911bd23e3beaa9dda9093915 # v2.1.0
24+
uses: lycheeverse/lychee-action@f613c4a64e50d792e0b31ec34bbcbba12263c6a6 # v2.3.0
2525
id: lychee
2626
env:
2727
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}"

.github/workflows/schedule-update-bot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
echo "LOG_LEVEL=${{ github.event.inputs.logLevel || env.LOG_LEVEL }}" >> "$GITHUB_ENV"
4646
4747
- name: Renovate
48-
uses: renovatebot/github-action@02f4fdeb479bbb229caa7ad82cb5e691c07e80b3 # v41.0.14
48+
uses: renovatebot/github-action@822441559e94f98b67b82d97ab89fe3003b0a247 # v44.2.0
4949
env:
5050
RENOVATE_HOST_RULES: '[{"hostType": "docker", "matchHost": "ghcr.io", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
5151
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '[".*"]'

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ linters:
77
- bodyclose
88
- containedctx
99
- contextcheck
10+
- copyloopvar
1011
- durationcheck
1112
- errchkjson
1213
- errname
1314
- errorlint
1415
- exhaustive
15-
- exportloopref
1616
- forcetypeassert
1717
- gci
1818
- gocritic

images/builder/Dockerfile

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,55 +17,55 @@
1717
# If you make changes to this Dockerfile run `make builder-image-push`.
1818

1919
# Install Lychee
20-
FROM docker.io/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c as lychee
20+
FROM docker.io/library/alpine:3.23.0@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 as lychee
2121
# update: datasource=github-tags depName=lycheeverse/lychee versioning=semver
2222
ENV LYCHEE_VERSION="v0.15.1"
2323
# hadolint ignore=DL3018
2424
RUN apk add --no-cache curl && \
25-
curl -L -o /tmp/lychee-${LYCHEE_VERSION}.tgz https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VERSION}/lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
26-
tar -xz -C /tmp -f /tmp/lychee-${LYCHEE_VERSION}.tgz && \
27-
mv /tmp/lychee /usr/bin/lychee && \
28-
rm -rf /tmp/linux-amd64 /tmp/lychee-${LYCHEE_VERSION}.tgz
25+
curl -L -o /tmp/lychee-${LYCHEE_VERSION}.tgz https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VERSION}/lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
26+
tar -xz -C /tmp -f /tmp/lychee-${LYCHEE_VERSION}.tgz && \
27+
mv /tmp/lychee /usr/bin/lychee && \
28+
rm -rf /tmp/linux-amd64 /tmp/lychee-${LYCHEE_VERSION}.tgz
2929

3030
# Install Golang CI Lint
31-
FROM docker.io/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c as golangci
31+
FROM docker.io/library/alpine:3.23.0@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 as golangci
3232
# update: datasource=github-tags depName=golangci/golangci-lint versioning=semver
33-
ENV GOLANGCI_VERSION="v1.64.5"
33+
ENV GOLANGCI_VERSION="v2.7.2"
3434
WORKDIR /
3535
# hadolint ignore=DL3018,DL4006
3636
RUN apk add --no-cache curl && \
37-
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s ${GOLANGCI_VERSION}
37+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s ${GOLANGCI_VERSION}
3838

3939
# Install Hadolint
40-
FROM docker.io/hadolint/hadolint:v2.12.0-alpine@sha256:3c206a451cec6d486367e758645269fd7d696c5ccb6ff59d8b03b0e45268a199 as hadolint
40+
FROM docker.io/hadolint/hadolint:v2.14.0-alpine@sha256:7aba693c1442eb31c0b015c129697cb3b6cb7da589d85c7562f9deb435a6657c as hadolint
4141

4242
# Install Trivy
43-
FROM docker.io/aquasec/trivy:0.59.1@sha256:029e990b328d149bf0a9ffe355919041e1f86192db2df47e217f8a36dd42ceac as trivy
43+
FROM docker.io/aquasec/trivy:0.68.2@sha256:05d0126976bdedcd0782a0336f77832dbea1c81b9cc5e4b3a5ea5d2ec863aca7 as trivy
4444

4545
############################
4646
# csctl Build Image Base #
4747
############################
48-
FROM docker.io/library/golang:1.21.6-bullseye@sha256:c62751ac12cad0c514d941e36f846c1c440ca9e8ec08dd87d022fb03f0887a9b
48+
FROM docker.io/library/golang:1.22-bullseye
4949

5050
# update: datasource=repology depName=debian_11/skopeo versioning=loose
5151
ENV SKOPEO_VERSION="1.2.2+dfsg1-1+b6"
5252
# update: datasource=github-tags depName=adrienverge/yamllint versioning=semver
53-
ENV YAMLLINT_VERSION="v1.35.1"
53+
ENV YAMLLINT_VERSION="v1.37.1"
5454
# update: datasource=github-tags depName=opt-nc/yamlfixer versioning=semver
5555
ENV YAMLFIXER_VERSION="0.9.15"
5656

5757
# hadolint ignore=DL3008
5858
RUN apt-get update && \
59-
apt-get install -qy --no-install-recommends \
60-
gnupg python3 python3-pip \
61-
file zip unzip jq gettext \
62-
skopeo=${SKOPEO_VERSION} \
63-
protobuf-compiler libprotobuf-dev \
64-
libsystemd-dev jq && \
65-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
66-
pip install --no-cache-dir \
67-
yamllint==${YAMLLINT_VERSION} \
68-
yamlfixer-opt-nc==${YAMLFIXER_VERSION}
59+
apt-get install -qy --no-install-recommends \
60+
gnupg python3 python3-pip \
61+
file zip unzip jq gettext \
62+
skopeo=${SKOPEO_VERSION} \
63+
protobuf-compiler libprotobuf-dev \
64+
libsystemd-dev jq && \
65+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
66+
pip install --no-cache-dir \
67+
yamllint==${YAMLLINT_VERSION} \
68+
yamlfixer-opt-nc==${YAMLFIXER_VERSION}
6969

7070
COPY --from=lychee /usr/bin/lychee /usr/bin/lychee
7171
COPY --from=golangci /bin/golangci-lint /usr/local/bin

0 commit comments

Comments
 (0)