-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (34 loc) · 1.08 KB
/
ci.yaml
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
40
41
42
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test-docker-desktop:
name: Test Docker Desktop installation and start
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest ]
build-url: [ "latest"]#, "https://desktop.docker.com/linux/main/amd64/122432/docker-desktop-4.24.0-amd64.deb" ]
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Start Desktop
uses: ./start
timeout-minutes: 5
with:
docker-desktop-build-url: ${{ matrix.build-url }}
- name: Gather Diagnostics
if: ${{ always() }}
run: /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
- name: Docker Desktop version
run: docker version >> $GITHUB_STEP_SUMMARY
- name: Docker Desktop info
run: docker info
- name: Gather Diagnostics
if: ${{ failure() }}
run: /opt/docker-desktop/bin/com.docker.diagnose gather -upload