feat: Add build_info metric with version, sha, golang_version labels … #794
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DocGenCI | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-v*' | |
jobs: | |
docgen-ci: | |
permissions: | |
id-token: write # aws-actions/configure-aws-credentials@v4.0.1 | |
if: github.repository == 'aws/karpenter-provider-aws' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./.github/actions/install-deps | |
- uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 | |
with: | |
role-to-assume: 'arn:aws:iam::${{ vars.ECR_ACCOUNT_ID }}:role/${{ vars.ECR_SNAPSHOT_ROLE_NAME }}' | |
aws-region: ${{ vars.ECR_REGION }} | |
- run: make docgen | |
- run: make codegen | |
env: | |
ENABLE_GIT_PUSH: false |