Skip to content

ci(build): set build workflow to use Primus workflow" #1

ci(build): set build workflow to use Primus workflow"

ci(build): set build workflow to use Primus workflow" #1

Workflow file for this run

name: build
on:
push:
branches:
- main
- develop
tags:
- v*
pull_request:
branches:
- main
- develop
workflow_dispatch:
jobs:
build-and-push-signoz-collector:
uses: signoz/primus.workflows/.github/workflows/go-build.yaml@main
permissions:
contents: read
id-token: write
secrets: inherit
with:
PRIMUS_REF: main
GO_BUILD_CONTEXT: ./cmd/signozcollector/main.go
GO_BUILD_FLAGS: '-v'
DOCKER_BASE_IMAGES: '["alpine:3"]' #placeholder
DOCKER_MANIFEST: true
DOCKER_DOCKERFILE_PATH: ./cmd/signozcollector/Dockerfile
PROVIDERS: aws,gcp,dockerhub

Check failure on line 30 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 30, Col: 18): Invalid input, PROVIDERS is not defined in the referenced workflow.
build-and-push-signoz-schema-migrator:
uses: signoz/primus.workflows/.github/workflows/go-build.yaml@main
permissions:
contents: read
id-token: write
secrets: inherit
with:
PRIMUS_REF: main
GO_BUILD_CONTEXT: ./cmd/signozschemamigrator/migrate.go
GO_BUILD_FLAGS: '-v'
DOCKER_BASE_IMAGES: '["alpine:3.17"]' #placeholder
DOCKER_MANIFEST: true
DOCKER_DOCKERFILE_PATH: ./cmd/signozschemamigrator/Dockerfile
PROVIDERS: aws,gcp,dockerhub