CI: Ensure that build-id is treated as a string in release-build.yml (#107213)
Ensure that build-id is treated as a string
This commit is contained in:
@@ -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,
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user