Skip to content

ci: litt Dockerfile linting #178

ci: litt Dockerfile linting

ci: litt Dockerfile linting #178

Workflow file for this run

name: Build, push, and deploy
on:
push:
branches:
- main
jobs:
build-deploy:
name: Build and push Docker container
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Push docker image to GAR
uses: nais/docker-build-push@v0
id: docker-build-push
with:
team: the-g-team
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} # Provided as Organization Secret
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} # Provided as Organization Variable
- uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: prod-gcp
RESOURCE: nais/nais.yaml,nais/alert.yaml
VAR: image=${{ steps.docker-build-push.outputs.image }}
TELEMETRY: ${{ steps.docker-build-push.telemetry }}