Skip to content

Commit 1f7362d

Browse files
chore: bump bitcoind and dogecoind to debian13 and update job permissions on release workflows (#90)
Co-authored-by: klemenfn <102049210+klemenfn@users.noreply.github.com>
1 parent d8c9b70 commit 1f7362d

5 files changed

Lines changed: 62 additions & 2 deletions

File tree

.github/workflows/release-bitcoind.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,29 @@ on:
77
branches: [main]
88
paths: ["images/bitcoind/**"]
99

10+
# Declare default permissions as read only.
11+
permissions: read-all
12+
1013
jobs:
1114
call:
1215
uses: ./.github/workflows/release-image.yml
16+
permissions:
17+
actions: read
18+
checks: read
19+
contents: read
20+
deployments: read
21+
discussions: read
22+
issues: read
23+
models: read
24+
pages: read
25+
pull-requests: read
26+
repository-projects: read
27+
statuses: read
28+
security-events: read
29+
artifact-metadata: read
30+
packages: write
31+
id-token: write
32+
attestations: write
1333
with:
1434
image: ghcr.io/${{ github.repository }}/bitcoind
1535
context: images/bitcoind

.github/workflows/release-dogecoind.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,29 @@ on:
77
branches: [main]
88
paths: ["images/dogecoind/**"]
99

10+
# Declare default permissions as read only.
11+
permissions: read-all
12+
1013
jobs:
1114
call:
1215
uses: ./.github/workflows/release-image.yml
16+
permissions:
17+
actions: read
18+
checks: read
19+
contents: read
20+
deployments: read
21+
discussions: read
22+
issues: read
23+
models: read
24+
pages: read
25+
pull-requests: read
26+
repository-projects: read
27+
statuses: read
28+
security-events: read
29+
artifact-metadata: read
30+
packages: write
31+
id-token: write
32+
attestations: write
1333
with:
1434
image: ghcr.io/${{ github.repository }}/dogecoind
1535
context: images/dogecoind

.github/workflows/release-rippled.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,29 @@ on:
77
branches: [main]
88
paths: ["images/rippled/**"]
99

10+
# Declare default permissions as read only.
11+
permissions: read-all
12+
1013
jobs:
1114
call:
1215
uses: ./.github/workflows/release-image.yml
16+
permissions:
17+
actions: read
18+
checks: read
19+
contents: read
20+
deployments: read
21+
discussions: read
22+
issues: read
23+
models: read
24+
pages: read
25+
pull-requests: read
26+
repository-projects: read
27+
statuses: read
28+
security-events: read
29+
artifact-metadata: read
30+
packages: write
31+
id-token: write
32+
attestations: write
1333
with:
1434
image: ghcr.io/${{ github.repository }}/rippled
1535
context: images/rippled

images/bitcoind/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333

3434
RUN mkdir -p /opt/bitcoin/.bitcoin/db
3535

36-
FROM gcr.io/distroless/cc-debian12:nonroot@sha256:189bd2ce1f7750193c2c10220d9201ba38c11e30fbb75b036606829fadbc81b1 as final
36+
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:4cf9e68a5cbd8c9623480b41d5ed6052f028c44cc29f91b21590613ab8bec824 as final
3737

3838
ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
3939

images/dogecoind/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ RUN <<-EOF
4242
mkdir -p /opt/dogecoin/.dogecoin/db
4343
EOF
4444

45-
FROM gcr.io/distroless/cc-debian12:nonroot@sha256:d1b8e4c52be1111aa108e959ef2a822299bb70fd1819dd250871a2601ca1e4b6 as final
45+
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:4cf9e68a5cbd8c9623480b41d5ed6052f028c44cc29f91b21590613ab8bec824 as final
4646

4747
ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
4848

0 commit comments

Comments
 (0)