Skip to content

Commit 8a616fc

Browse files
authored
Merge pull request #21 from Dockermint/develop
Develop
2 parents 0064bb4 + f0efe2a commit 8a616fc

5 files changed

Lines changed: 87 additions & 25 deletions

File tree

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
day: monday
9+
target-branch: develop
10+
labels:
11+
- dependencies
12+
- github-actions
13+
commit-message:
14+
prefix: ci
15+
include: scope
16+
17+
- package-ecosystem: gomod
18+
directory: /
19+
schedule:
20+
interval: weekly
21+
day: monday
22+
target-branch: develop
23+
labels:
24+
- dependencies
25+
- go
26+
commit-message:
27+
prefix: deps
28+
include: scope

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
name: Lint
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818

19-
- uses: actions/setup-go@v5
19+
- uses: actions/setup-go@v6
2020
with:
2121
go-version-file: go.mod
2222

2323
- name: Go vet
2424
run: go vet ./...
2525

2626
- name: golangci-lint
27-
uses: golangci/golangci-lint-action@v7
27+
uses: golangci/golangci-lint-action@v9
2828
with:
2929
version: latest
3030

@@ -37,9 +37,9 @@ jobs:
3737
goos: [linux]
3838
goarch: [amd64, arm64]
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4141

42-
- uses: actions/setup-go@v5
42+
- uses: actions/setup-go@v6
4343
with:
4444
go-version-file: go.mod
4545

@@ -60,27 +60,27 @@ jobs:
6060
runs-on: ubuntu-latest
6161
needs: lint
6262
steps:
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v6
6464

65-
- uses: docker/setup-buildx-action@v3
65+
- uses: docker/setup-buildx-action@v4
6666

6767
- name: Docker metadata
6868
id: meta
69-
uses: docker/metadata-action@v5
69+
uses: docker/metadata-action@v6
7070
with:
7171
images: ghcr.io/${{ github.repository }}
7272
labels: |
7373
org.opencontainers.image.title=Pebblify
7474
org.opencontainers.image.description=LevelDB to PebbleDB migration tool for Cosmos/CometBFT nodes.
7575
org.opencontainers.image.url=https://www.dockermint.io
76-
org.opencontainers.image.documentation=https://github.com/Dockermint/Pebblify
76+
org.opencontainers.image.documentation=https://docs.dockermint.io/pebblify/
7777
org.opencontainers.image.licenses=Apache-2.0
7878
org.opencontainers.image.vendor=Dockermint
7979
org.opencontainers.image.authors=Dockermint
8080
org.opencontainers.image.base.name=alpine:3.22
8181
8282
- name: Build image (no push)
83-
uses: docker/build-push-action@v6
83+
uses: docker/build-push-action@v7
8484
with:
8585
context: .
8686
push: false

.github/workflows/codeql.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
schedule:
9+
- cron: "0 6 * * 1"
10+
11+
permissions:
12+
security-events: write
13+
contents: read
14+
15+
jobs:
16+
analyze:
17+
name: Analyze
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v6
21+
22+
- uses: actions/setup-go@v6
23+
with:
24+
go-version-file: go.mod
25+
26+
- name: Initialize CodeQL
27+
uses: github/codeql-action/init@v4
28+
with:
29+
languages: go
30+
build-mode: autobuild
31+
32+
- name: Perform CodeQL analysis
33+
uses: github/codeql-action/analyze@v4
34+
with:
35+
category: /language:go

.github/workflows/release.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
goos: [linux]
1818
goarch: [amd64, arm64]
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121

22-
- uses: actions/setup-go@v5
22+
- uses: actions/setup-go@v6
2323
with:
2424
go-version-file: go.mod
2525

@@ -35,7 +35,7 @@ jobs:
3535
-o pebblify-${{ matrix.goos }}-${{ matrix.goarch }} \
3636
./cmd/pebblify
3737
38-
- uses: actions/upload-artifact@v4
38+
- uses: actions/upload-artifact@v7
3939
with:
4040
name: pebblify-${{ matrix.goos }}-${{ matrix.goarch }}
4141
path: pebblify-${{ matrix.goos }}-${{ matrix.goarch }}
@@ -44,40 +44,39 @@ jobs:
4444
name: Docker push
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848

49-
- uses: docker/setup-qemu-action@v3
49+
- uses: docker/setup-qemu-action@v4
5050

51-
- uses: docker/setup-buildx-action@v3
51+
- uses: docker/setup-buildx-action@v4
5252

5353
- name: Login to GHCR
54-
uses: docker/login-action@v3
54+
uses: docker/login-action@v4
5555
with:
5656
registry: ghcr.io
5757
username: ${{ github.repository_owner }}
5858
password: ${{ secrets.GITHUB_TOKEN }}
5959

6060
- name: Docker metadata
6161
id: meta
62-
uses: docker/metadata-action@v5
62+
uses: docker/metadata-action@v6
6363
with:
6464
images: ghcr.io/${{ github.repository }}
6565
tags: |
6666
type=semver,pattern={{version}}
6767
type=semver,pattern={{major}}.{{minor}}
68-
type=sha,prefix=
6968
labels: |
7069
org.opencontainers.image.title=Pebblify
7170
org.opencontainers.image.description=LevelDB to PebbleDB migration tool for Cosmos/CometBFT nodes.
7271
org.opencontainers.image.url=https://www.dockermint.io
73-
org.opencontainers.image.documentation=https://github.com/Dockermint/Pebblify
72+
org.opencontainers.image.documentation=https://docs.dockermint.io/pebblify/
7473
org.opencontainers.image.licenses=Apache-2.0
7574
org.opencontainers.image.vendor=Dockermint
7675
org.opencontainers.image.authors=Dockermint
7776
org.opencontainers.image.base.name=alpine:3.22
7877
7978
- name: Build & push
80-
uses: docker/build-push-action@v6
79+
uses: docker/build-push-action@v7
8180
with:
8281
context: .
8382
push: true
@@ -94,11 +93,11 @@ jobs:
9493
runs-on: ubuntu-latest
9594
needs: [build, docker]
9695
steps:
97-
- uses: actions/checkout@v4
96+
- uses: actions/checkout@v6
9897
with:
9998
fetch-depth: 0
10099

101-
- uses: actions/download-artifact@v4
100+
- uses: actions/download-artifact@v8
102101
with:
103102
path: artifacts
104103
pattern: pebblify-*
@@ -114,7 +113,7 @@ jobs:
114113
done
115114
116115
- name: Create release
117-
uses: softprops/action-gh-release@v2
116+
uses: softprops/action-gh-release@v2.6.1
118117
with:
119118
generate_release_notes: false
120119
body_path: CHANGELOG.md

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ LABEL org.opencontainers.image.title="Pebblify" \
3838
org.opencontainers.image.revision="${REVISION}" \
3939
org.opencontainers.image.source="https://github.com/Dockermint/Pebblify" \
4040
org.opencontainers.image.url="https://www.dockermint.io" \
41-
org.opencontainers.image.documentation="https://github.com/Dockermint/Pebblify" \
41+
org.opencontainers.image.documentation="https://docs.dockermint.io/pebblify/" \
4242
org.opencontainers.image.licenses="Apache-2.0" \
4343
org.opencontainers.image.vendor="Dockermint" \
4444
org.opencontainers.image.authors="Dockermint" \

0 commit comments

Comments
 (0)