chore: support global.priorityClassName #415
This file contains hidden or 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: ci | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| extension-ci: | |
| uses: steadybit/extension-kit/.github/workflows/reusable-extension-ci.yml@main # NOSONAR githubactions:S7637 - our own action | |
| with: | |
| go_version: '^1.25.7' | |
| runs_on: steadybit_runner_ubuntu_latest_4cores_16GB | |
| build_linux_packages: true | |
| run_make_prepare_audit: true | |
| VERSION_BUMPER_APPID: ${{ vars.GH_APP_STEADYBIT_APP_ID }} | |
| secrets: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| PAT_TOKEN_EXTENSION_DEPLOYER: ${{ secrets.PAT_TOKEN_EXTENSION_DEPLOYER }} | |
| MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} | |
| MAVEN_GPG_PRIVATE_KEY_PASSWORD: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSWORD }} | |
| PAT_TOKEN_GORELEASER: ${{ secrets.PAT_TOKEN }} | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
| VERSION_BUMPER_SECRET: ${{ secrets.GH_APP_STEADYBIT_PRIVATE_KEY }} | |
| GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER: ${{ secrets.GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER }} | |
| build-consumer-image: | |
| name: Build Dummy Consumer Image | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: docker/setup-qemu-action@v3 # NOSONAR githubactions:S7637 - verified action creator | |
| - uses: docker/setup-buildx-action@v3 # NOSONAR githubactions:S7637 - verified action creator | |
| - name: Log in to the container registry | |
| uses: docker/login-action@v3 # NOSONAR githubactions:S7637 - verified action creator | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Extract metadata (tags, labels) for Docker | |
| id: meta | |
| uses: docker/metadata-action@v5 # NOSONAR githubactions:S7637 - verified action creator | |
| with: | |
| images: ghcr.io/${{ github.repository }}/dummyconsumer | |
| - name: Build and push Docker image | |
| id: push | |
| uses: docker/build-push-action@v6 # NOSONAR githubactions:S7637 - verified action creator | |
| with: | |
| context: ./test-dataset/dummyconsumer/ | |
| file: ./test-dataset/dummyconsumer/Dockerfile | |
| push: true | |
| tags: ghcr.io/${{ github.repository }}/dummyconsumer:main | |
| labels: ${{ steps.meta.outputs.labels }} | |
| platforms: linux/amd64,linux/arm64 |