Skip to content

Feature/flattenpolicy #1181

Feature/flattenpolicy

Feature/flattenpolicy #1181

Workflow file for this run

name: Resource Registry Scan
on:
schedule:
- cron: '0 8 * * 1,4'
push:
branches: [ main ]
paths:
- 'src/**'
- 'Dockerfile'
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened]
paths:
- 'src/**'
- 'Dockerfile'
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --tag altinn-resource-registry:${{github.sha}}
- uses: Azure/[email protected]
with:
image-name: altinn-resource-registry:${{ github.sha }}
env:
DOCKLE_HOST: "unix:///var/run/docker.sock"