Skip to content

Deploy dev og experimental labs #606

Deploy dev og experimental labs

Deploy dev og experimental labs #606

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 }}