From 9f6e0070f13d9763c8f81364df6e6223a3434168 Mon Sep 17 00:00:00 2001 From: Kevin Minehart <5140827+kminehart@users.noreply.github.com> Date: Wed, 25 Jun 2025 14:49:44 -0500 Subject: [PATCH] CI: Ensure that build-id is treated as a string in `release-build.yml` (#107213) Ensure that build-id is treated as a string --- .github/workflows/release-build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index a335d134e62..369a2f35401 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -69,11 +69,6 @@ jobs: id-token: write name: Dispatch grafana-enterprise build steps: - - name: Log in to GCS - id: login-to-gcs - uses: grafana/shared-workflows/actions/login-to-gcs@login-to-gcs/v0.2.1 - with: - environment: prod - id: vault-secrets uses: grafana/shared-workflows/actions/get-vault-secrets@main with: @@ -92,7 +87,7 @@ jobs: REF: ${{ github.ref_name }} VERSION: ${{ needs.setup.outputs.version }} BUILD_ID: ${{ github.run_number }} - BUCKET: ${{ steps.login-to-gcs.outputs.bucket }} + BUCKET: grafana-prerelease with: script: | const {REF, VERSION, BUILD_ID, BUCKET} = process.env; @@ -104,7 +99,7 @@ jobs: ref: REF, inputs: { "version": VERSION, - "build-id": BUILD_ID, + "build-id": String(BUILD_ID), "bucket": BUCKET, } })