Skip to content

Branch regex

Branch regex #11

Workflow file for this run

concurrency:
group: "test-gar-upload"
"on":
push:
branches:
- "test-gar-upload/v[0-9]+\\.[0-9]+\\.[0-9]+"
jobs:
runTest:
runs-on: "ubuntu-x64"
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: "Setup Google Auth"
uses: google-github-actions/auth@v2
with:
project_id: grafanalabs-workload-identity
workload_identity_provider: projects/304398677251/locations/global/workloadIdentityPools/github/providers/github-provider
- name: "Upload artifacts"
run: |
echo "I am a test" > test.txt
gcloud artifacts generic upload \
--project="grafanalabs-dev" \
--repository="generic-loki-dev" \
--location="us" \
--source=${{env.path}} \
--package=loki-testing \
--version=${{ github.sha }}
env:
path: "test.txt"