Skip to content

Resource Registry Scan #1161

Resource Registry Scan

Resource Registry Scan #1161

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"