Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit 5fe7b04

Browse files
pbasgod7claude
andcommitted
Switch to GitHub-hosted runner with OIDC authentication
- Change from gha-runner-ecr-publish to ubuntu-latest - Add AWS OIDC authentication with role assumption - Requires AWS_ROLE_ARN secret to be configured Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 9aaff4e commit 5fe7b04

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build-and-push.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ env:
2424
jobs:
2525
build-and-publish:
2626
name: Build and Publish Grafana Quickwit Image
27-
runs-on: gha-runner-ecr-publish
27+
runs-on: ubuntu-latest
28+
permissions:
29+
id-token: write
30+
contents: read
2831
outputs:
2932
githash: ${{ steps.metadata.outputs.githash }}
3033
image_tag: ${{ steps.metadata.outputs.image_tag }}
@@ -35,6 +38,12 @@ jobs:
3538
with:
3639
fetch-depth: 0
3740

41+
- name: Configure AWS credentials
42+
uses: aws-actions/configure-aws-credentials@v4
43+
with:
44+
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
45+
aws-region: ${{ env.AWS_REGION_MGT }}
46+
3847
- name: Generate metadata
3948
id: metadata
4049
run: |

0 commit comments

Comments
 (0)