diff --git a/.github/workflows/deploy_dev_gcp.yml b/.github/workflows/deploy_dev_gcp.yml index 3f54401..1664b6c 100644 --- a/.github/workflows/deploy_dev_gcp.yml +++ b/.github/workflows/deploy_dev_gcp.yml @@ -11,6 +11,7 @@ jobs: permissions: contents: read packages: write + id-token: write steps: # PULLER REPO - name: 'Pull repo' @@ -49,9 +50,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # DEPLOYER dev-gcp - name: 'Deploy omsorgsopptjening-start-innlesning to dev-gcp' - uses: nais/deploy/actions/deploy@v1 + uses: nais/deploy/actions/deploy@v2 env: - APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} RESOURCE: nais/dev-gcp.yml,nais/unleash-apitoken-dev-gcp.yml CLUSTER: dev-gcp IMAGE: ${{ env.IMAGE_GHCR }} diff --git a/.github/workflows/deploy_prod_gcp.yml b/.github/workflows/deploy_prod_gcp.yml index 2f64cff..17bac35 100644 --- a/.github/workflows/deploy_prod_gcp.yml +++ b/.github/workflows/deploy_prod_gcp.yml @@ -11,6 +11,7 @@ jobs: permissions: contents: read packages: write + id-token: write steps: # PULLER REPO - name: 'Pull repo' @@ -49,9 +50,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # DEPLOYER prod-gcp - name: 'Deploy omsorgsopptjening-start-innlesning to prod-gcp' - uses: nais/deploy/actions/deploy@v1 + uses: nais/deploy/actions/deploy@v2 env: - APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} RESOURCE: nais/prod-gcp.yml,nais/unleash-apitoken-prod-gcp.yml CLUSTER: prod-gcp IMAGE: ${{ env.IMAGE_GHCR }}