forked from GitTools/GitVersion
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
39 lines (37 loc) · 1.2 KB
/
action.yml
File metadata and controls
39 lines (37 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'Docker Test'
description: 'Docker Test Images'
inputs:
arch:
description: 'Docker architecture'
default: 'amd64'
docker_distro:
description: 'Linux Distro'
default: 'debian.12'
dotnet_version:
description: '.net version'
default: '8.0'
runs:
using: 'composite'
steps:
- name: '[Docker Build & Test] DockerHub'
uses: nick-fields/retry@v3
with:
shell: pwsh
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
dotnet run/docker.dll --target=DockerTest `
--arch=${{ inputs.arch }} --dotnet_version=${{ inputs.dotnet_version }} `
--docker_distro=${{ inputs.docker_distro }} --docker_registry dockerhub --verbosity=diagnostic
- name: '[Docker Build & Test] GitHub'
uses: nick-fields/retry@v3
with:
shell: pwsh
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
dotnet run/docker.dll --target=DockerTest `
--arch=${{ inputs.arch }} --dotnet_version=${{ inputs.dotnet_version }} `
--docker_distro=${{ inputs.docker_distro }} --docker_registry github --verbosity=diagnostic