Skip to content

Custom jwt issuer exception (#397) #132

Custom jwt issuer exception (#397)

Custom jwt issuer exception (#397) #132

name: Build and push
on:
push:
branches: [ main ]
paths-ignore:
- "test/k6/**"
- ".github/**"
workflow_dispatch:
jobs:
build-test-analyze:
name: Build and push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push image to registry
run: |
# Construct the image tag using the Git hash
IMAGE_TAG="ghcr.io/altinn/altinn-broker:${{ github.sha }}"
docker build . --tag $IMAGE_TAG
docker push $IMAGE_TAG