Skip to content

Commit

Permalink
ci: build image
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Mar 1, 2024
1 parent 4dda176 commit 37b7299
Show file tree
Hide file tree
Showing 6 changed files with 292 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
target-branch: "main"
16 changes: 16 additions & 0 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build and Deploy
on:
push:
branches:
- main
tags:
- v*
jobs:
build:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/docker-tpl.yaml@main
with:
images: rss3/geth-exporter
context: .
dockerfile: ./Dockerfile
platforms: linux/amd64,linux/arm64
secrets: inherit
21 changes: 21 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint
on:
push:
branches:
- main

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Checkout
uses: actions/checkout@v3
- name: GolangCI Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/naturalselectionlabs/geth-exporter

go 1.22.0
go 1.21.4

require (
github.com/ethereum/go-ethereum v1.13.14
Expand Down
Loading

0 comments on commit 37b7299

Please sign in to comment.