Skip to content

add tests for visa token #171

add tests for visa token

add tests for visa token #171

name: Docker Build Test
on:
pull_request:
types: [opened, synchronize]
jobs:
build-test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: create maven settings.xml
uses: s4u/[email protected]
with:
servers: |
[{
"id":"github-fega-norway",
"username": "${{ github.actor }}",
"password": "${{ secrets.GITHUB_TOKEN }}"
}]
- name: Copy settings.xml to project root
shell: bash
run: cp /home/runner/.m2/settings.xml ./settings.xml
- name: Build Docker image
run: docker build -t sda-doa:test .