CI: Ensure that build-id is treated as a string in `release-build.yml` (#107213)

Ensure that build-id is treated as a string
pull/107215/head
Kevin Minehart 7 months ago committed by GitHub
parent d6a8470e67
commit 9f6e0070f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      .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,
}
})

Loading…
Cancel
Save