Skip to content

Commit 6bc6da0

Browse files
authored
feat: Improve dependabot config and docker workflow (#36)
1 parent 9139b24 commit 6bc6da0

3 files changed

Lines changed: 28 additions & 40 deletions

File tree

.github/dependabot.yml

Lines changed: 13 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
2-
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
2+
3+
multi-ecosystem-groups:
4+
dependencies:
55
schedule:
66
interval: "weekly"
77
time: "06:00"
@@ -12,41 +12,19 @@ updates:
1212
open-pull-requests-limit: 5
1313
cooldown:
1414
default-days: 2
15-
groups:
16-
dependencies:
17-
patterns:
18-
- "*"
15+
16+
updates:
17+
- package-ecosystem: "github-actions"
18+
directory: "/"
19+
multi-ecosystem-group: "dependencies"
20+
patterns: ["*"]
1921

2022
- package-ecosystem: "docker"
2123
directory: "/"
22-
schedule:
23-
interval: "weekly"
24-
time: "06:00"
25-
commit-message:
26-
prefix: "chore"
27-
labels:
28-
- "dependencies"
29-
open-pull-requests-limit: 5
30-
cooldown:
31-
default-days: 2
32-
groups:
33-
dependencies:
34-
patterns:
35-
- "*"
24+
multi-ecosystem-group: "dependencies"
25+
patterns: ["*"]
3626

3727
- package-ecosystem: "npm"
3828
directory: "/"
39-
schedule:
40-
interval: "weekly"
41-
time: "06:00"
42-
commit-message:
43-
prefix: "chore"
44-
labels:
45-
- "dependencies"
46-
open-pull-requests-limit: 5
47-
cooldown:
48-
default-days: 2
49-
groups:
50-
dependencies:
51-
patterns:
52-
- "*"
29+
multi-ecosystem-group: "dependencies"
30+
patterns: ["*"]

.github/workflows/docker.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
REGISTRY: ghcr.io
10-
IMAGE_PREFIX: ghcr.io/${{ github.repository_owner }}
10+
IMAGE: ghcr.io/${{ github.repository }}
1111

1212
jobs:
1313
build:
@@ -18,6 +18,7 @@ jobs:
1818
packages: write
1919
attestations: write
2020
id-token: write
21+
artifact-metadata: write
2122
steps:
2223
- name: Checkout
2324
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -39,11 +40,12 @@ jobs:
3940
id: meta
4041
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
4142
with:
42-
images: ${{ env.IMAGE_PREFIX }}/docs
43+
images: ${{ env.IMAGE }}
4344
tags: |
4445
type=raw,value=latest
4546
4647
- name: Build and push Docs image
48+
id: build
4749
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
4850
with:
4951
context: .
@@ -52,7 +54,15 @@ jobs:
5254
platforms: linux/amd64,linux/arm64
5355
tags: ${{ steps.meta.outputs.tags }}
5456
labels: ${{ steps.meta.outputs.labels }}
57+
annotations: ${{ steps.meta.outputs.annotations }}
5558
cache-from: type=gha
5659
cache-to: type=gha,mode=max
57-
provenance: true
60+
provenance: mode=max
5861
sbom: true
62+
63+
- name: Attest image
64+
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
65+
with:
66+
subject-name: ${{ env.IMAGE }}
67+
subject-digest: ${{ steps.build.outputs.digest }}
68+
push-to-registry: true

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Checkout repository ⬇️
1515
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616

17-
- name: Use Node.js 24.x ⚙️
17+
- name: Use Node.js 25.x ⚙️
1818
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1919
with:
20-
node-version: 24.x
20+
node-version: 25.x
2121
cache: "npm"
2222

2323
- name: Setup Aikido Safe Chain

0 commit comments

Comments
 (0)