refactor: add identity_provider to IntrospectRequest #71
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: Build and push texas | |
on: [push] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
GOOGLE_REGISTRY: europe-north1-docker.pkg.dev | |
GITHUB_REGISTRY: ghcr.io | |
jobs: | |
build: | |
name: Publish to Google and GitHub registries | |
if: github.ref == 'refs/heads/master' | |
permissions: | |
contents: "read" | |
id-token: "write" | |
packages: "write" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose --features docker | |
- uses: nais/platform-build-push-sign@main | |
id: build_push_sign | |
with: | |
name: texas | |
dockerfile: Dockerfile | |
google_service_account: gh-texas | |
push: true | |
push_ghcr: true | |
multi-platform: 'true' | |
workload_identity_provider: ${{ secrets.NAIS_IO_WORKLOAD_IDENTITY_PROVIDER }} |