CI: fix daggerbuild scripts so that they go run in the right place (#105697)

fix scripts so that they go run in the right place
This commit is contained in:
Kevin Minehart
2025-05-21 13:50:10 -05:00
committed by GitHub
parent c7a690348d
commit 616bbfd4fd
11 changed files with 17 additions and 74 deletions
@@ -7,7 +7,7 @@ docker run --privileged --rm tonistiigi/binfmt:qemu-v7.0.0-28 --uninstall 'qemu-
# This command enables qemu emulators for building Docker images for arm64/armv6/armv7/etc on the host.
docker run --privileged --rm tonistiigi/binfmt:qemu-v7.0.0-28 --install all
dagger run --silent go run ./cmd \
dagger run --silent go run ./pkg/build/cmd \
artifacts \
-a targz:grafana:linux/amd64 \
-a targz:grafana:linux/arm64 \
@@ -28,7 +28,6 @@ dagger run --silent go run ./cmd \
--build-id=${DRONE_BUILD_NUMBER} \
--grafana-dir=${GRAFANA_DIR} \
--github-token=${GITHUB_TOKEN} \
--go-version=${GO_VERSION} \
--ubuntu-base=${UBUNTU_BASE} \
--alpine-base=${ALPINE_BASE} \
--destination=${local_dst} > assets.txt