add tests for visa token #173
Workflow file for this run
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: 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 . |