Skip to content

Deploy til prod-gcp #100

Deploy til prod-gcp

Deploy til prod-gcp #100

Workflow file for this run

name: Deploy til prod-gcp
on:
release:
types: [published]
jobs:
deploy-prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get release tag
env:
VERSION_TAG: ${{ github.event.release.tag_name }}
run: |
APPLICATION=$(echo $GITHUB_REPOSITORY | cut -d "/" -f 2)
IMAGE=ghcr.io/$GITHUB_REPOSITORY:$VERSION_TAG
echo "IMAGE=${IMAGE}" >> $GITHUB_ENV
echo $IMAGE
- uses: nais/deploy/actions/deploy@v1
name: Deploy til prod-gcp
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/prod.yaml
VAR: commit=${{ github.sha }}
- uses: navikt/digihot-deploy/actions/post-production@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}