Custom jwt issuer exception (#397) #132
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: 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 |