Skip to content

Commit

Permalink
chore: add ki
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx committed Sep 14, 2024
1 parent 1245093 commit 2dc79dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ jobs:
# TODO: make it dynamic
- axone
- chihuahua
- govgen
- juno
- ki
- nolus
- govgen
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
cache: true
cache-dependency-path: "**/build.yml"
cache-dependency-path: "**/build.yaml"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -35,16 +36,18 @@ jobs:
with:
path: |
go-build-cache
go-mod-cache
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/build.yaml') }}
restore-keys: |
${{ runner.os }}-go-build-cache
- name: inject go-build-cache into docker
- name: inject go-cache into docker
uses: reproducible-containers/[email protected]
with:
cache-map: |
{
"go-build-cache": "/root/.cache/go-build"
"go-build-cache": "/root/.cache/go-build",
"go-mod-cache": "/go/pkg/mod"
}
- name: Login to GitHub Container Registry
Expand Down
7 changes: 7 additions & 0 deletions ki/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
version: "5.0.2"
go_version: "1.22-alpine"
chain_repository: "https://github.com/KiFoundation/ki-tools"

daemon_name: "kid"
daemon_home: "$HOME/.kid"

0 comments on commit 2dc79dc

Please sign in to comment.