Drone: Dagger needs to use go run (#105803)

This commit is contained in:
Mariell Hoversholm 2025-05-22 09:14:44 +02:00 committed by GitHub
parent cab652c4d1
commit d692bce405
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -4342,7 +4342,7 @@ steps:
| tar zx -C /bin
- apk add docker
- export GITHUB_TOKEN=$(cat /github-app/token)
- dagger run --silent ./pkg/build/cmd artifacts -a $${ARTIFACTS} --grafana-ref=$${GRAFANA_REF}
- dagger run --silent go run ./pkg/build/cmd artifacts -a $${ARTIFACTS} --grafana-ref=$${GRAFANA_REF}
--enterprise-ref=$${ENTERPRISE_REF} --grafana-repo=$${GRAFANA_REPO} --version=$${VERSION}
depends_on:
- github-app-generate-token
@ -5205,6 +5205,6 @@ kind: secret
name: gcr_credentials
---
kind: signature
hmac: 16b16fc72db02c6f5bd322703f1d7f13c2d1ac38f6efb324590ba14512aadce3
hmac: 1da5c9da34dc5dbffef8bef4ef84282997cb2363f929fdf4b897d2ee87a33703
...

View File

@ -346,7 +346,7 @@ def rgm_promotion_pipeline():
"pull": "always",
"commands": with_dagger_install([
"export GITHUB_TOKEN=$(cat /github-app/token)",
"dagger run --silent ./pkg/build/cmd artifacts " +
"dagger run --silent go run ./pkg/build/cmd artifacts " +
"-a $${ARTIFACTS} " +
"--grafana-ref=$${GRAFANA_REF} " +
"--enterprise-ref=$${ENTERPRISE_REF} " +