added authorization requirement to endpoints (#272) #877
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notifications scan | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'src/**' | |
- 'Dockerfile' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'src/**' | |
- 'Dockerfile' | |
schedule: | |
- cron: '0 8 * * 1,4' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker build . --tag altinn-notifications:${{github.sha}} | |
- uses: Azure/[email protected] | |
with: | |
image-name: altinn-notifications:${{ github.sha }} | |
env: | |
DOCKLE_HOST: "unix:///var/run/docker.sock" |