Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit a5fbac3

Browse files
authored
Merge pull request #7 from csatib02/chore/update-repo
chore: update repo
2 parents c96ef35 + 61a3e11 commit a5fbac3

File tree

6 files changed

+56
-499
lines changed

6 files changed

+56
-499
lines changed

.github/workflows/artifacts.yaml

+11-8
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424

2525
- name: Gather metadata
2626
id: meta
27-
uses: docker/metadata-action@v4
27+
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
2828
with:
2929
images: ghcr.io/${{ github.repository_owner }}/config-reloader
3030
flavor: |
@@ -36,23 +36,23 @@ jobs:
3636
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
3737
3838
- name: Set up QEMU
39-
uses: docker/setup-qemu-action@v2
39+
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
4040
with:
4141
platforms: all
4242

4343
- name: Set up Docker Buildx
44-
uses: docker/setup-buildx-action@v2
44+
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
4545

4646
- name: Login to GitHub Container Registry
47-
uses: docker/login-action@v2
47+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
4848
with:
4949
registry: ghcr.io
5050
username: ${{ github.actor }}
5151
password: ${{ github.token }}
5252
if: github.event_name == 'push'
5353

5454
- name: Build and push
55-
uses: docker/build-push-action@v4
55+
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
5656
with:
5757
context: .
5858
platforms: linux/amd64,linux/arm64,linux/arm/v7
@@ -63,15 +63,18 @@ jobs:
6363
labels: ${{ steps.meta.outputs.labels }}
6464

6565
- name: Run Trivy vulnerability scanner
66-
uses: aquasecurity/trivy-action@0.9.1
66+
uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # 0.29.0
67+
env:
68+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
69+
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db:1
6770
with:
6871
image-ref: "ghcr.io/${{ github.repository_owner }}/config-reloader:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}"
6972
format: "sarif"
7073
output: "trivy-results.sarif"
7174
if: github.event_name == 'push'
7275

7376
- name: Upload Trivy scan results to GitHub Security tab
74-
uses: github/codeql-action/upload-sarif@v2
77+
uses: github/codeql-action/upload-sarif@6e5455904168f98c75d8e5ad848b4dc4ab3ae77e # v3.28.7
7578
with:
7679
sarif_file: "trivy-results.sarif"
7780
if: github.event_name == 'push'

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.1 as builder
1+
FROM golang:1.23.5-alpine3.20@sha256:def59a601e724ddac5139d447e8e9f7d0aeec25db287a9ee1615134bcda266e2 AS builder
22

33
WORKDIR /workspace
44

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ BIN := ${PWD}/bin
22
export PATH := ${BIN}:${PATH}
33

44
LICENSEI := ${BIN}/licensei
5-
LICENSEI_VERSION = v0.4.0
5+
LICENSEI_VERSION = v0.9.0
66

77
${BIN}:
88
mkdir -p ${BIN}

go.mod

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
module github.com/banzaicloud/config-reloader
22

3-
go 1.23.1
3+
go 1.23.5
44

55
require (
6-
github.com/fsnotify/fsnotify v1.5.4
7-
github.com/prometheus/client_golang v1.13.0
6+
github.com/fsnotify/fsnotify v1.8.0
7+
github.com/prometheus/client_golang v1.20.5
88
)
99

1010
require (
1111
github.com/beorn7/perks v1.0.1 // indirect
12-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
13-
github.com/golang/protobuf v1.5.2 // indirect
14-
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
15-
github.com/prometheus/client_model v0.2.0 // indirect
16-
github.com/prometheus/common v0.37.0 // indirect
17-
github.com/prometheus/procfs v0.8.0 // indirect
18-
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
19-
google.golang.org/protobuf v1.28.1 // indirect
12+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
13+
github.com/klauspost/compress v1.17.11 // indirect
14+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
15+
github.com/prometheus/client_model v0.6.1 // indirect
16+
github.com/prometheus/common v0.62.0 // indirect
17+
github.com/prometheus/procfs v0.15.1 // indirect
18+
golang.org/x/sys v0.29.0 // indirect
19+
google.golang.org/protobuf v1.36.4 // indirect
2020
)

0 commit comments

Comments
 (0)