Deploy dev og experimental labs #609
Workflow file for this run
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
on: workflow_dispatch | |
name: Deploy dev og experimental labs | |
jobs: | |
deploy-dev-manual: | |
name: deploy dev manual | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nais/login@v0 | |
id: login | |
with: | |
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} | |
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} | |
team: fager | |
- name: 'Deploy dev-gcp' | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: nais/dev-gcp.yaml | |
PRINT_PAYLOAD: true | |
VAR: commit=${{ github.sha }},image=${{ steps.login.outputs.registry }}/min-side-arbeidsgiver:${{ github.sha }} | |
REF: ${{ github.sha }} | |
deploy-labs-manual: | |
name: deploy labs manual | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nais/login@v0 | |
id: login | |
with: | |
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} | |
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} | |
team: fager | |
- name: 'Deploy labs-gcp' | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: nais/demo-devlik.yaml | |
PRINT_PAYLOAD: true | |
VAR: commit=${{ github.sha }},image=${{ steps.login.outputs.registry }}/min-side-arbeidsgiver:${{ github.sha }} | |
REF: ${{ github.sha }} |