Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samlaf/test ko publish GitHub action #1

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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