Skip to content

Update mcr.microsoft.com/dotnet/aspnet Docker tag to v9 (#1106) #1622

Update mcr.microsoft.com/dotnet/aspnet Docker tag to v9 (#1106)

Update mcr.microsoft.com/dotnet/aspnet Docker tag to v9 (#1106) #1622

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