Skip to content

Bump k8s.io/client-go from 0.21.5 to 0.28.0 #63

Bump k8s.io/client-go from 0.21.5 to 0.28.0

Bump k8s.io/client-go from 0.21.5 to 0.28.0 #63

Workflow file for this run

name: Build and deploy elector
on:
- push
jobs:
build_push_sign:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
env:
RUNNER_IMG: "gcr.io/distroless/static-debian11"
RUNNERIMG_IDENTITY: "keyless@distroless.iam.gserviceaccount.com"
RUNNERIMG_ISSUER: "https://accounts.google.com"
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
- name: Install cosign
uses: sigstore/cosign-installer@9e9de2292db7abb3f51b7f4808d98f0d347a8919 # ratchet:sigstore/cosign-installer@main
with:
cosign-release: 'v2.0.0'
- name: Verify runner image
run: cosign verify --certificate-identity ${{ env.RUNNERIMG_IDENTITY }} --certificate-oidc-issuer ${{ env.RUNNERIMG_ISSUER }} ${{ env.RUNNER_IMG }}
- uses: nais/build-push-sign@7ec7617aae88394f31653b30c0b20b5706678396 # ratchet:nais/build-push-sign@main
with:
name: elector
dockerfile: Dockerfile
google_service_account: gh-elector
push: ${{ github.actor != 'dependabot[bot]' }}
workload_identity_provider: ${{ secrets.NAIS_IO_WORKLOAD_IDENTITY_PROVIDER }}