Skip to content

persist mongo db version (#86) #19

persist mongo db version (#86)

persist mongo db version (#86) #19

Workflow file for this run

name: Build, push and deploy prod
on:
push:
branches:
- main
- master
paths-ignore:
- README.md
- docker-compose.yaml
- CODEOWNERS
- 'vera-backup/**'
jobs:
build_and_push:
permissions:
contents: "read"
id-token: "write"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: nais/docker-build-push@v0
id: docker-push
with:
team: team-atom #
docker_context: . # optional, default .
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} # required, but is defined as an organization variable
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} # required, but is defined as an organization secret
- name: Deploy prod-gcp
uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: prod-gcp
RESOURCE: nais/vera.yaml
VARS: nais/prod.yaml
VAR: image=${{ steps.docker-push.outputs.image }}