Skip to content

Commit

Permalink
Merge pull request #1 from Layr-Labs/samlaf/test-ko-publish-github-ac…
Browse files Browse the repository at this point in the history
…tion

Samlaf/test ko publish GitHub action
  • Loading branch information
samlaf authored Oct 26, 2023
2 parents 732263c + fd05f01 commit 16e1d7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.20.x'
go-version: '1.21.x'
- uses: actions/checkout@v2

- uses: ko-build/setup-ko@v0.6
# We build both the aggregator and the operator in the same job
# we could separate them, but anyways they share core/ so it would get messy
# See https://ko.build/configuration/#naming-images to understand --preserve-import-paths
# TODO: this currently fails when trying to read from private eigensdk-go repo...
# prob need to add permission somewhere. will figure out some other time, or maybe wait until we make it public
- run: KO_DOCKER_REPO=ghcr.io/layr-labs/incredible-squaring ko build aggregator/cmd/main.go --preserve-import-paths
- run: KO_DOCKER_REPO=ghcr.io/layr-labs/incredible-squaring ko build operator/cmd/main.go --preserve-import-paths

0 comments on commit 16e1d7b

Please sign in to comment.