Skip to content

Commit 50c2c1d

Browse files
committed
Removed unused config.
1 parent 3776d6a commit 50c2c1d

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

.github/workflows/deploy-to-dev.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Manual deploy to dev
22

33
on:
44
workflow_call:
5-
secrets:
6-
NAIS_WORKLOAD_IDENTITY_PROVIDER:
7-
description: "Identity provider for nais/docker-build-push"
8-
required: true
95
workflow_dispatch:
106

117
run-name: Dev deploy of ${{ github.ref_name }}
@@ -55,8 +51,6 @@ jobs:
5551
image_suffix: # optional, default empty
5652
cache_from: type=gha # optional, default type=gha
5753
cache_to: type=gha,mode=max # optional, default type=gha,mode=max
58-
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} # required, but is defined as an organization secret
59-
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} # required, but is defined as an organization variable
6054
build_args: |
6155
VERSION=${CI}
6256

.github/workflows/deploy-to-prod.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Manual deploy to prod
22

33
on:
44
workflow_call:
5-
secrets:
6-
NAIS_WORKLOAD_IDENTITY_PROVIDER:
7-
description: "Identity provider for nais/docker-build-push"
8-
required: true
95
workflow_dispatch:
106

117
run-name: Prod deploy of ${{ github.ref_name }}
@@ -26,8 +22,6 @@ jobs:
2622
id: image-registry
2723
uses: nais/login@v0
2824
with:
29-
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
30-
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
3125
team: klage
3226

3327
- name: Generate image name

.github/workflows/main.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
contents: write
1515
id-token: write
1616
uses: ./.github/workflows/deploy-to-dev.yaml
17-
secrets:
18-
NAIS_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
1917

2018
deploy_to_prod:
2119
name: Prod
@@ -24,5 +22,3 @@ jobs:
2422
id-token: write
2523
needs: deploy_to_dev
2624
uses: ./.github/workflows/deploy-to-prod.yaml
27-
secrets:
28-
NAIS_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}

0 commit comments

Comments
 (0)