Skip to content

Bump snok/container-retention-policy from 2.2.1 to 3.0.0 #132

Bump snok/container-retention-policy from 2.2.1 to 3.0.0

Bump snok/container-retention-policy from 2.2.1 to 3.0.0 #132

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-clearinghouse",
"username": "${{ github.actor }}",
"password": "${{ secrets.GITHUB_TOKEN }}"
},
{
"id":"github-crypt4gh",
"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 .