diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ca4da6e..f910686 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -58,7 +58,7 @@ jobs: version: latest verb: call module: github.com/container-registry/harbor-satellite - args: build --source=. --name=satellite + args: build --source=. --component=satellite - name: Release on Github uses: dagger/dagger-for-github@v5 @@ -93,7 +93,7 @@ jobs: version: latest verb: call module: github.com/container-registry/harbor-satellite - args: build --source=./ground-control --name=ground-control + args: build --source=./ground-control --component=ground-control - name: Release on Github uses: dagger/dagger-for-github@v5 diff --git a/ci/utils.go b/ci/utils.go index b0367d4..d641451 100644 --- a/ci/utils.go +++ b/ci/utils.go @@ -59,8 +59,8 @@ func (m *HarborSatellite) Service( } // Would build the project with the source provided. The name should be the name of the project. -func (m *HarborSatellite) build(source *dagger.Directory, name string) *dagger.Directory { - fmt.Printf("Building %s\n", name) +func (m *HarborSatellite) build(source *dagger.Directory, component string) *dagger.Directory { + fmt.Printf("Building %s\n", component) gooses := []string{"linux", "darwin"} goarches := []string{"amd64", "arm64"}